Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGWin32VirtualXProxy.h
Go to the documentation of this file.
1// $Id: TGWin32VirtualXProxy.h,v 1.14 2006/05/15 13:31:01 rdm Exp $
2// Author: Valeriy Onuchin 08/08/2003
3
4/*************************************************************************
5 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TGWin32VirtualXProxy
13#define ROOT_TGWin32VirtualXProxy
14
15//////////////////////////////////////////////////////////////////////////
16// //
17// TGWin32VirtualXProxy //
18// //
19// This class is the proxy interface to the Win32 graphics system. //
20// //
21//////////////////////////////////////////////////////////////////////////
22
23#include "TVirtualX.h"
24
25#include "TGWin32ProxyBase.h"
26
27class TGWin32;
28
29
31
32friend class TGWin32;
33
34protected:
35 static TVirtualX *fgRealObject; // TGWin32 object
36
37public:
39 TGWin32VirtualXProxy(const char *name, const char *title) {}
41
42 Bool_t Init(void *display=0) override;
43 void ClearWindow() override;
44 void ClosePixmap() override;
45 void CloseWindow() override;
48 void DrawCellArray(Int_t x1, Int_t y1, Int_t x2, Int_t y2, Int_t nx, Int_t ny, Int_t *ic) override;
49 void DrawFillArea(Int_t n, TPoint *xy) override;
50 void DrawLine(Int_t x1, Int_t y1, Int_t x2, Int_t y2) override;
51 void DrawPolyLine(Int_t n, TPoint *xy) override;
52 void DrawPolyMarker(Int_t n, TPoint *xy) override;
53 void DrawText(Int_t x, Int_t y, Float_t angle, Float_t mgn, const char *text, ETextMode mode) override;
54 void DrawText(Int_t, Int_t, Float_t, Float_t, const wchar_t *, ETextMode) override{}
58 void GetGeometry(Int_t wid, Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override;
59 const char *DisplayName(const char * = 0) override;
60 Handle_t GetNativeEvent() const override;
62 void GetPlanes(Int_t &nplanes) override;
63 void GetRGB(Int_t index, Float_t &r, Float_t &g, Float_t &b) override;
64 void GetTextExtent(UInt_t &w, UInt_t &h, char *mess) override;
65 void GetTextExtent(UInt_t &, UInt_t &, wchar_t *) override{}
68 Bool_t HasTTFonts() const override;
69 Int_t InitWindow(ULongptr_t window) override;
70 void MoveWindow(Int_t wid, Int_t x, Int_t y) override;
72 void QueryPointer(Int_t &ix, Int_t &iy) override;
73 void ReadGIF(Int_t x0, Int_t y0, const char *file);
75 Int_t RequestString(Int_t x, Int_t y, char *text) override;
78 void ResizeWindow(Int_t wid) override;
79 void SelectWindow(Int_t wid) override;
81 void SetClipOFF(Int_t wid) override;
83 void SetCursor(Int_t win, ECursor cursor) override;
85 void SetDoubleBufferOFF() override;
86 void SetDoubleBufferON() override;
87 void SetDrawMode(EDrawMode mode) override;
88 void SetFillColor(Color_t cindex) override;
89 void SetFillStyle(Style_t style) override;
90 void SetFillAttributes() override;
91 void ResetAttFill(Option_t *option="") override;
92 Color_t GetFillColor() const override;
93 Style_t GetFillStyle() const override;
94 Bool_t IsTransparent() const override;
95 void SetLineColor(Color_t cindex) override;
96 void SetLineType(Int_t n, Int_t *dash) override;
97 void SetLineStyle(Style_t linestyle) override;
98 void SetLineWidth(Width_t width) override;
99 void SetLineAttributes() override;
100 void ResetAttLine(Option_t *option="") override;
101 Color_t GetLineColor() const override;
102 Style_t GetLineStyle() const override;
103 Width_t GetLineWidth() const override;
105 void SetMarkerSize(Float_t markersize) override;
107 void ResetAttMarker(Option_t *toption="") override;
108 void SetMarkerAttributes() override;
109 Color_t GetMarkerColor() const override;
110 Style_t GetMarkerStyle() const override;
111 Size_t GetMarkerSize() const override;
112 void SetOpacity(Int_t percent) override;
114 void SetTextAlign(Short_t talign=11) override;
115 void SetTextColor(Color_t cindex=1) override;
116 void SetTextAngle(Float_t tangle=0) override;
118 void SetTextFont(Font_t fontnumber=62) override;
120 void SetTextSize(Float_t textsize=1) override;
121 void SetTextSizePixels(Int_t npixels) override;
122 void SetTextAttributes() override;
123 void ResetAttText(Option_t *toption="") override;
124 Short_t GetTextAlign() const override;
125 Float_t GetTextAngle() const override;
126 Color_t GetTextColor() const override;
127 Font_t GetTextFont() const override;
128 Float_t GetTextSize() const override;
129 void UpdateWindow(Int_t mode) override;
130 void Warp(Int_t ix, Int_t iy, Window_t id = 0) override;
131 Int_t WriteGIF(char *name) override;
132 void WritePixmap(Int_t wid, UInt_t w, UInt_t h, char *pxname) override;
134 void MapWindow(Window_t id) override;
135 void MapSubwindows(Window_t id) override;
136 void MapRaised(Window_t id) override;
137 void UnmapWindow(Window_t id) override;
138 void DestroyWindow(Window_t id) override;
139 void DestroySubwindows(Window_t id) override;
140 void RaiseWindow(Window_t id) override;
141 void LowerWindow(Window_t id) override;
142 void MoveWindow(Window_t id, Int_t x, Int_t y) override;
144 void ResizeWindow(Window_t id, UInt_t w, UInt_t h) override;
145 void IconifyWindow(Window_t id) override;
146 void ReparentWindow(Window_t id, Window_t pid, Int_t x, Int_t y) override;
147 void SetWindowBackground(Window_t id, ULong_t color) override;
150 UInt_t w, UInt_t h, UInt_t border, Int_t depth, UInt_t clss,
151 void *visual, SetWindowAttributes_t *attr, UInt_t wtype) override;
152 Int_t OpenDisplay(const char *dpyName=0) override;
153 void CloseDisplay() override;
154 Display_t GetDisplay() const override;
155 Visual_t GetVisual() const override;
156 Int_t GetScreen() const override;
157 Int_t GetDepth() const override;
158 Colormap_t GetColormap() const override;
159 Atom_t InternAtom(const char *atom_name, Bool_t only_if_exist) override;
161 Window_t GetParent(Window_t id) const override;
162 FontStruct_t LoadQueryFont(const char *font_name) override;
164 void DeleteFont(FontStruct_t fs) override;
168 void DeleteGC(GContext_t gc) override;
170 void SetCursor(Window_t id, Cursor_t curid) override;
175 void DeletePixmap(Pixmap_t pmap) override;
180 Bool_t ReadPictureDataFromFile(const char *filename, char ***ret_data) override;
181 void DeletePictureData(void *data) override;
182 void SetDashes(GContext_t gc, Int_t offset, const char *dash_list, Int_t n) override;
183 Bool_t ParseColor(Colormap_t cmap, const char *cname, ColorStruct_t &color) override;
185 void QueryColor(Colormap_t cmap, ColorStruct_t &color) override;
187 void Bell(Int_t percent) override;
193 void ClearArea(Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h) override;
194 void WMDeleteNotify(Window_t id) override;
195 void SetKeyAutoRepeat(Bool_t on = kTRUE) override;
196 void GrabKey(Window_t id, Int_t keycode, UInt_t modifier, Bool_t grab = kTRUE) override;
200 Cursor_t cursor, Bool_t grab = kTRUE, Bool_t owner_events = kTRUE) override;
201 void SetWindowName(Window_t id, char *name) override;
202 void SetIconName(Window_t id, char *name) override;
203 void SetIconPixmap(Window_t id, Pixmap_t pix) override;
204 void SetClassHints(Window_t id, char *className, char *resourceName) override;
206 void SetWMPosition(Window_t id, Int_t x, Int_t y) override;
207 void SetWMSize(Window_t id, UInt_t w, UInt_t h) override;
210 void SetWMState(Window_t id, EInitialState state) override;
212 void DrawString(Drawable_t id, GContext_t gc, Int_t x, Int_t y, const char *s, Int_t len) override;
213 Int_t TextWidth(FontStruct_t font, const char *s, Int_t len) override;
214 void GetFontProperties(FontStruct_t font, Int_t &max_ascent, Int_t &max_descent) override;
218 void ClearWindow(Window_t id) override;
219 Int_t KeysymToKeycode(UInt_t keysym) override;
222 void DrawSegments(Drawable_t id, GContext_t gc, Segment_t *seg, Int_t nseg) override;
223 void SelectInput(Window_t id, UInt_t evmask) override;
225 void SetInputFocus(Window_t id) override;
229 void LookupString(Event_t *event, char *buf, Int_t buflen, UInt_t &keysym) override;
233 void GetWindowSize(Drawable_t id, Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override;
235 void QueryPointer(Window_t id, Window_t &rootw, Window_t &childw,
236 Int_t &root_x, Int_t &root_y, Int_t &win_x, Int_t &win_y, UInt_t &mask) override;
239 void Update(Int_t mode = 0) override;
241 void DestroyRegion(Region_t reg) override;
252 char **ListFonts(const char *fontname, Int_t max, Int_t &count) override;
253 void FreeFontNames(char **fontlist) override;
258 Int_t dx, Int_t dy, Int_t x, Int_t y, UInt_t w, UInt_t h) override;
259 void DeleteImage(Drawable_t img) override;
261 Pixmap_t CreatePixmapFromData(unsigned char *bits, UInt_t width, UInt_t height) override;
265
268 Atom_t*, Int_t*, ULong_t*, ULong_t*, unsigned char**) override;
273 Int_t format, UChar_t *data, Int_t len) override;
276 Window_t FindRWindow(Window_t win, Window_t dragwin, Window_t input, int x, int y, int maxd) override;
278
279 Int_t EventsPending() override;
280 void NextEvent(Event_t & event) override;
282 void SendEvent(Window_t id, Event_t *ev) override;
283 Bool_t IsCmdThread() const override;
284 Window_t GetCurrentWindow() const override;
285
286 static TVirtualX *RealObject();
288};
289
290#endif
Handle_t Atom_t
WM token.
Definition GuiTypes.h:37
Handle_t Region_t
Region handle.
Definition GuiTypes.h:32
EGEventType
Definition GuiTypes.h:59
ECursor
Definition GuiTypes.h:372
Handle_t Pixmap_t
Pixmap handle.
Definition GuiTypes.h:30
Handle_t FontH_t
Font handle (as opposed to Font_t which is an index)
Definition GuiTypes.h:35
Handle_t Visual_t
Visual handle.
Definition GuiTypes.h:28
Handle_t Window_t
Window handle.
Definition GuiTypes.h:29
Handle_t Display_t
Display handle.
Definition GuiTypes.h:27
ULong_t Time_t
Event time.
Definition GuiTypes.h:42
Handle_t GContext_t
Graphics context handle.
Definition GuiTypes.h:38
EInitialState
Initial window mapping state.
Definition GuiTypes.h:345
Handle_t Drawable_t
Drawable handle.
Definition GuiTypes.h:31
Handle_t Cursor_t
Cursor handle.
Definition GuiTypes.h:34
EMouseButton
Button names.
Definition GuiTypes.h:214
Handle_t Colormap_t
Colormap handle.
Definition GuiTypes.h:33
ULongptr_t Handle_t
Generic resource handle.
Definition GuiTypes.h:26
Handle_t FontStruct_t
Pointer to font structure.
Definition GuiTypes.h:39
#define b(i)
Definition RSha256.hxx:100
#define g(i)
Definition RSha256.hxx:105
#define h(i)
Definition RSha256.hxx:106
short Style_t
Definition RtypesCore.h:89
short Color_t
Definition RtypesCore.h:92
float Size_t
Definition RtypesCore.h:96
unsigned char UChar_t
Definition RtypesCore.h:38
unsigned long ULong_t
Definition RtypesCore.h:55
long Long_t
Definition RtypesCore.h:54
unsigned long ULongptr_t
Definition RtypesCore.h:83
short Width_t
Definition RtypesCore.h:91
float Float_t
Definition RtypesCore.h:57
short Font_t
Definition RtypesCore.h:88
short Short_t
Definition RtypesCore.h:39
constexpr Bool_t kTRUE
Definition RtypesCore.h:100
const char Option_t
Definition RtypesCore.h:66
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void pix
Option_t Option_t option
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void chupy
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t regb
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t mask
Option_t Option_t cindex
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t pict_mask
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t dest_x
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t cursor
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t hmin
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void cmap
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t atom
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t pict
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t del
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t hmax
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void pixel
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t wmin
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize wid
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void clipboard
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height qwid
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t np
Option_t Option_t mgn
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t rect
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t recs
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h prop
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Option_t Option_t fontnumber
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t child
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char cname
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void curid
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Option_t Option_t markerstyle
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void chupx
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char pxname
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void foreground
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char bitmap
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char forecolor
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t textsize
Option_t Option_t TPoint TPoint angle
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void funcs
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t src_y
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t win
Option_t Option_t TPoint xy
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void xpos
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t dest_y
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t winc
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t attr
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t modifier
Option_t Option_t TPoint TPoint const char mode
Option_t toption
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char backcolor
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t format
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t npnt
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t nchar
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char fontname
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t src_x
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t Atom_t typelist
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void main_id
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t grab
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void ypos
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void when
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t points
Option_t Option_t width
Option_t Option_t TPoint TPoint percent
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t evmask
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t src
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize fs
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t gval
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t rega
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void reg
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t wmax
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t property
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void pxm
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t hinc
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t confine
Option_t Option_t style
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void gc
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t button
Option_t Option_t TPoint TPoint const char text
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char atom_name
Option_t Option_t TPoint TPoint const char y1
char name[80]
Definition TGX11.cxx:110
Proxy classes provide thread-safe interface to global objects.
static UInt_t fMaxResponseTime
max period for waiting response from server thread
Bool_t fIsVirtualX
true if actual TVirtualX implementation
char ** ListFonts(const char *fontname, Int_t max, Int_t &count) override
Returns list of font names matching fontname regexp, like "-*-times-*".
void Update(Int_t mode=0) override
Flushes (mode = 0, default) or synchronizes (mode = 1) X output buffer.
void ResetAttMarker(Option_t *toption="") override
Reset this marker attributes to the default values.
void SetTypeList(Window_t win, Atom_t prop, Atom_t *typelist) override
Add the list of drag and drop types to the Window win.
void ClosePixmap() override
Deletes current pixmap.
void SetTextAngle(Float_t tangle=0) override
Set the text angle.
Short_t GetTextAlign() const override
Return the text alignment.
void TranslateCoordinates(Window_t src, Window_t dest, Int_t src_x, Int_t src_y, Int_t &dest_x, Int_t &dest_y, Window_t &child) override
Translates coordinates in one window to the coordinate space of another window.
void QueryPointer(Window_t id, Window_t &rootw, Window_t &childw, Int_t &root_x, Int_t &root_y, Int_t &win_x, Int_t &win_y, UInt_t &mask) override
Returns the root window the pointer is logically on and the pointer coordinates relative to the root ...
void MoveResizeWindow(Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h) override
Changes the size and location of the specified window "id" without raising it.
Int_t GetDepth() const override
Returns depth of screen (number of bit planes).
Color_t GetFillColor() const override
Return the fill area color.
void SetTextSize(Float_t textsize=1) override
Set the text size.
void SetWindowBackgroundPixmap(Window_t id, Pixmap_t pxm) override
Sets the background pixmap of the window "id" to the specified pixmap "pxm".
void SetCharacterUp(Float_t chupx, Float_t chupy) override
Sets character up vector.
Font_t GetTextFont() const override
Return the text font.
void Warp(Int_t ix, Int_t iy, Window_t id=0) override
Sets the pointer position.
Float_t GetTextMagnitude() override
Returns the current font magnification factor.
void DrawFillArea(Int_t n, TPoint *xy) override
Fills area described by the polygon.
unsigned char * GetColorBits(Drawable_t wid, Int_t x, Int_t y, UInt_t width, UInt_t height) override
Returns an array of pixels created from a part of drawable (defined by x, y, w, h) in format:
void FreeColor(Colormap_t cmap, ULong_t pixel) override
Frees color cell with specified pixel value.
void RescaleWindow(Int_t wid, UInt_t w, UInt_t h) override
Rescales the window "wid".
void RemoveWindow(ULongptr_t qwid) override
Removes the created by Qt window "qwid".
Int_t OpenDisplay(const char *dpyName=0) override
Opens connection to display server (if such a thing exist on the current platform).
Int_t TextWidth(FontStruct_t font, const char *s, Int_t len) override
Return length of the string "s" in pixels. Size depends on font.
void UpdateWindow(Int_t mode) override
Updates or synchronises client and server once (not permanent).
void ChangeActivePointerGrab(Window_t, UInt_t, Cursor_t) override
Changes the specified dynamic parameters if the pointer is actively grabbed by the client and if the ...
const char * DisplayName(const char *=0) override
Returns hostname on which the display is opened.
static TVirtualX * fgRealObject
void DestroyWindow(Window_t id) override
Destroys the window "id" as well as all of its subwindows.
void SetMarkerColor(Color_t cindex) override
Set the marker color.
void GetTextExtent(UInt_t &, UInt_t &, wchar_t *) override
Returns the size of the specified character string "mess".
void SetMarkerSize(Float_t markersize) override
Set the marker size.
Float_t GetTextAngle() const override
Return the text angle.
static TVirtualX * ProxyObject()
FontH_t GetFontHandle(FontStruct_t fs) override
Returns the font handle of the specified font structure "fs".
void SetKeyAutoRepeat(Bool_t on=kTRUE) override
Turns key auto repeat on (kTRUE) or off (kFALSE).
Int_t KeysymToKeycode(UInt_t keysym) override
Converts the "keysym" to the appropriate keycode.
Display_t GetDisplay() const override
Returns handle to display (might be useful in some cases where direct X11 manipulation outside of TVi...
Window_t GetWindowID(Int_t wid) override
Returns the X11 window identifier.
void FillRectangle(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, UInt_t h) override
Fills the specified rectangle defined by [x,y] [x+w,y] [x+w,y+h] [x,y+h].
void SetDoubleBuffer(Int_t wid, Int_t mode) override
Sets the double buffer on/off on the window "wid".
void DrawString(Drawable_t id, GContext_t gc, Int_t x, Int_t y, const char *s, Int_t len) override
Each character image, as defined by the font in the GC, is treated as an additional mask for a fill o...
void IntersectRegion(Region_t rega, Region_t regb, Region_t result) override
Computes the intersection of two regions.
void GetPlanes(Int_t &nplanes) override
Returns the maximum number of planes.
void DrawLine(Int_t x1, Int_t y1, Int_t x2, Int_t y2) override
Draws a line.
Bool_t IsDNDAware(Window_t win, Atom_t *typelist) override
Checks if the Window is DND aware, and knows any of the DND formats passed in argument.
void DrawLine(Drawable_t id, GContext_t gc, Int_t x1, Int_t y1, Int_t x2, Int_t y2) override
Uses the components of the specified GC to draw a line between the specified set of points (x1,...
Bool_t CheckEvent(Window_t id, EGEventType type, Event_t &ev) override
Check if there is for window "id" an event of type "type".
void ClearWindow(Window_t id) override
Clears the entire area in the specified window and it is equivalent to ClearArea(id,...
void ChangeProperties(Window_t id, Atom_t property, Atom_t type, Int_t format, UChar_t *data, Int_t len) override
Alters the property for the specified window and causes the X server to generate a PropertyNotify eve...
void DeleteProperty(Window_t, Atom_t &) override
Deletes the specified property only if the property was defined on the specified window and causes th...
Bool_t CreatePictureFromData(Drawable_t id, char **data, Pixmap_t &pict, Pixmap_t &pict_mask, PictureAttributes_t &attr) override
Creates a picture pict from data in bitmap format.
void MoveWindow(Int_t wid, Int_t x, Int_t y) override
Moves the window "wid" to the specified x and y coordinates.
void PutPixel(Drawable_t id, Int_t x, Int_t y, ULong_t pixel) override
Overwrites the pixel in the image with the specified pixel value.
Bool_t AllocColor(Colormap_t cmap, ColorStruct_t &color) override
Allocates a read-only colormap entry corresponding to the closest RGB value supported by the hardware...
Pixmap_t CreatePixmap(Drawable_t id, const char *bitmap, UInt_t width, UInt_t height, ULong_t forecolor, ULong_t backcolor, Int_t depth) override
Creates a pixmap from bitmap data of the width, height, and depth you specified and returns a pixmap ...
Style_t GetMarkerStyle() const override
Return the marker style.
Int_t WriteGIF(char *name) override
Writes the current window into GIF file.
void SetTextColor(Color_t cindex=1) override
Set the text color.
void GetWindowSize(Drawable_t id, Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override
Returns the location and the size of window "id".
Drawable_t CreateImage(UInt_t width, UInt_t height) override
Allocates the memory needed for an drawable.
void PutImage(Drawable_t id, GContext_t gc, Drawable_t img, Int_t dx, Int_t dy, Int_t x, Int_t y, UInt_t w, UInt_t h) override
Combines an image with a rectangle of the specified drawable.
void SetWMSizeHints(Window_t id, UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc) override
Gives the window manager minimum and maximum size hints of the window "id".
void SetDNDAware(Window_t win, Atom_t *typelist) override
Add XdndAware property and the list of drag and drop types to the Window win.
Int_t OpenPixmap(UInt_t w, UInt_t h) override
Creates a pixmap of the width "w" and height "h" you specified.
void SetWindowName(Window_t id, char *name) override
Sets the window name.
void SetClipOFF(Int_t wid) override
Turns off the clipping for the window "wid".
void ReparentWindow(Window_t id, Window_t pid, Int_t x, Int_t y) override
If the specified window is mapped, ReparentWindow automatically performs an UnmapWindow request on it...
void SetFillColor(Color_t cindex) override
Set the fill area color.
void ShapeCombineMask(Window_t id, Int_t x, Int_t y, Pixmap_t mask) override
The Non-rectangular Window Shape Extension adds non-rectangular windows to the System.
void MoveWindow(Window_t id, Int_t x, Int_t y) override
Moves the specified window to the specified x and y coordinates.
void DeleteGC(GContext_t gc) override
Deletes the specified GC "gc".
FontStruct_t LoadQueryFont(const char *font_name) override
Provides the most common way for accessing a font: opens (loads) the specified font and returns a poi...
void MapRaised(Window_t id) override
Maps the window "id" and all of its subwindows that have had map requests on the screen and put this ...
void SetTextAlign(Short_t talign=11) override
Set the text alignment.
Color_t GetTextColor() const override
Return the text color.
void DeletePixmap(Pixmap_t pmap) override
Explicitly deletes the pixmap resource "pmap".
void MapSubwindows(Window_t id) override
Maps all subwindows for the specified window "id" in top-to-bottom stacking order.
void SetLineWidth(Width_t width) override
Set the line width.
void CloseWindow() override
Deletes current window.
void GetGeometry(Int_t wid, Int_t &x, Int_t &y, UInt_t &w, UInt_t &h) override
Returns position and size of window "wid".
void SetInputFocus(Window_t id) override
Changes the input focus to specified window "id".
void DrawSegments(Drawable_t id, GContext_t gc, Segment_t *seg, Int_t nseg) override
Draws multiple line segments.
Bool_t CreatePictureFromFile(Drawable_t id, const char *filename, Pixmap_t &pict, Pixmap_t &pict_mask, PictureAttributes_t &attr) override
Creates a picture pict from data in file "filename".
void SetWindowBackground(Window_t id, ULong_t color) override
Sets the background of the window "id" to the specified color value "color".
Bool_t IsTransparent() const override
void SetClipRegion(Int_t wid, Int_t x, Int_t y, UInt_t w, UInt_t h) override
Sets clipping region for the window "wid".
void GetGCValues(GContext_t gc, GCValues_t &gval) override
Returns the components specified by the mask in "gval" for the specified GC "gc" (see also the GCValu...
Cursor_t CreateCursor(ECursor cursor) override
Creates the specified cursor.
Bool_t EmptyRegion(Region_t reg) override
Returns kTRUE if the region reg is empty.
Float_t GetTextSize() const override
Return the text size.
void ConvertPrimarySelection(Window_t id, Atom_t clipboard, Time_t when) override
Causes a SelectionRequest event to be sent to the current primary selection owner.
Bool_t SetSelectionOwner(Window_t, Atom_t &) override
Changes the owner and last-change time for the specified selection.
void ChangeGC(GContext_t gc, GCValues_t *gval) override
Changes the components specified by the mask in gval for the specified GC.
void ResetAttLine(Option_t *option="") override
Reset this line attributes to default values.
void SetWMSize(Window_t id, UInt_t w, UInt_t h) override
Tells window manager the desired size of window "id".
void DrawPolyLine(Int_t n, TPoint *xy) override
Draws a line through all points in the list.
void GetTextExtent(UInt_t &w, UInt_t &h, char *mess) override
Returns the size of the specified character string "mess".
Window_t GetPrimarySelectionOwner() override
Returns the window id of the current owner of the primary selection.
void LookupString(Event_t *event, char *buf, Int_t buflen, UInt_t &keysym) override
Convert the keycode from the event structure to a key symbol (according to the modifiers specified in...
Int_t RequestLocator(Int_t mode, Int_t ctyp, Int_t &x, Int_t &y) override
Requests Locator position.
void DrawBox(Int_t x1, Int_t y1, Int_t x2, Int_t y2, EBoxMode mode) override
Draws a box between [x1,y1] and [x2,y2] according to the "mode".
void DeleteImage(Drawable_t img) override
Deallocates the memory associated with the image img.
void ConvertSelection(Window_t, Atom_t &, Atom_t &, Atom_t &, Time_t &) override
Requests that the specified selection be converted to the specified target type.
Pixmap_t CreatePixmapFromData(unsigned char *bits, UInt_t width, UInt_t height) override
create pixmap from RGB data.
void SetRGB(Int_t cindex, Float_t r, Float_t g, Float_t b) override
Sets color intensities the specified color index "cindex".
void SetFillAttributes() override
Invoke the DialogCanvas Fill attributes.
void DrawRectangle(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, UInt_t h) override
Draws rectangle outlines of [x,y] [x+w,y] [x+w,y+h] [x,y+h].
EDrawMode GetDrawMode()
void SetMarkerAttributes() override
Invoke the DialogCanvas Marker attributes.
void SetTextMagnitude(Float_t mgn) override
Sets the current text magnification factor to "mgn".
void DrawCellArray(Int_t x1, Int_t y1, Int_t x2, Int_t y2, Int_t nx, Int_t ny, Int_t *ic) override
Draws a cell array.
void SetLineType(Int_t n, Int_t *dash) override
Sets the line type.
Window_t FindRWindow(Window_t win, Window_t dragwin, Window_t input, int x, int y, int maxd) override
Recursively search in the children of Window for a Window which is at location x, y and is DND aware,...
void SetWMPosition(Window_t id, Int_t x, Int_t y) override
Tells the window manager the desired position [x,y] of window "id".
void UnionRegion(Region_t rega, Region_t regb, Region_t result) override
Computes the union of two regions.
void GetImageSize(Drawable_t id, UInt_t &width, UInt_t &height) override
Returns the width and height of the image id.
void FreeFontNames(char **fontlist) override
Frees the specified the array of strings "fontlist".
Int_t ResizePixmap(Int_t wid, UInt_t w, UInt_t h) override
Resizes the specified pixmap "wid".
void DrawText(Int_t, Int_t, Float_t, Float_t, const wchar_t *, ETextMode) override
Draws a text string using current font.
void FreeFontStruct(FontStruct_t fs) override
Frees the font structure "fs".
void GrabPointer(Window_t id, UInt_t evmask, Window_t confine, Cursor_t cursor, Bool_t grab=kTRUE, Bool_t owner_events=kTRUE) override
Establishes an active pointer grab.
void SetClipRectangles(GContext_t gc, Int_t x, Int_t y, Rectangle_t *recs, Int_t n) override
Sets clipping rectangles in graphics context.
void ChangeProperty(Window_t id, Atom_t property, Atom_t type, UChar_t *data, Int_t len) override
Alters the property for the specified window and causes the X server to generate a PropertyNotify eve...
Int_t GetScreen() const override
Returns screen number.
FontStruct_t GetFontStruct(FontH_t fh) override
Retrieves the associated font structure of the font specified font handle "fh".
void GetCharacterUp(Float_t &chupx, Float_t &chupy) override
Returns character up vector.
void SetIconPixmap(Window_t id, Pixmap_t pix) override
Sets the icon name pixmap.
Atom_t InternAtom(const char *atom_name, Bool_t only_if_exist) override
Returns the atom identifier associated with the specified "atom_name" string.
void SubtractRegion(Region_t rega, Region_t regb, Region_t result) override
Subtracts regb from rega and stores the results in result.
void ResizeWindow(Int_t wid) override
Resizes the window "wid" if necessary.
Pixmap_t CreatePixmap(Drawable_t id, UInt_t w, UInt_t h) override
Creates a pixmap of the specified width and height and returns a pixmap ID that identifies it.
Bool_t ParseColor(Colormap_t cmap, const char *cname, ColorStruct_t &color) override
Looks up the string name of a color "cname" with respect to the screen associated with the specified ...
void XorRegion(Region_t rega, Region_t regb, Region_t result) override
Calculates the difference between the union and intersection of two regions.
void GetRGB(Int_t index, Float_t &r, Float_t &g, Float_t &b) override
Returns RGB values for color "index".
Size_t GetMarkerSize() const override
Return the marker size.
Bool_t EqualRegion(Region_t rega, Region_t regb) override
Returns kTRUE if the two regions have the same offset, size, and shape.
void ResetAttFill(Option_t *option="") override
Reset this fill attributes to default values.
void Bell(Int_t percent) override
Sets the sound bell. Percent is loudness from -100% to 100%.
void FillPolygon(Window_t id, GContext_t gc, Point_t *points, Int_t npnt) override
Fills the region closed by the specified path.
Int_t GetProperty(Window_t, Atom_t, Long_t, Long_t, Bool_t, Atom_t, Atom_t *, Int_t *, ULong_t *, ULong_t *, unsigned char **) override
Returns the actual type of the property; the actual format of the property; the number of 8-bit,...
void ResizeWindow(Window_t id, UInt_t w, UInt_t h) override
Changes the width and height of the specified window "id", not including its borders.
void SetLineColor(Color_t cindex) override
Set the line color.
void ClearArea(Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h) override
Paints a rectangular area in the specified window "id" according to the specified dimensions with the...
Color_t GetMarkerColor() const override
Return the marker color.
void DrawPolyMarker(Int_t n, TPoint *xy) override
Draws "n" markers with the current attributes at position [x,y].
void SetOpacity(Int_t percent) override
Sets opacity of the current window.
void ChangeWindowAttributes(Window_t id, SetWindowAttributes_t *attr) override
Changes the attributes of the specified window "id" according the values provided in "attr".
Visual_t GetVisual() const override
Returns handle to visual.
void SetIconName(Window_t id, char *name) override
Sets the window icon name.
void IconifyWindow(Window_t id) override
Iconifies the window "id".
void SetForeground(GContext_t gc, ULong_t foreground) override
Sets the foreground color for the specified GC (shortcut for ChangeGC with only foreground mask set).
Style_t GetFillStyle() const override
Return the fill area style.
void SetTextSizePixels(Int_t npixels) override
Set the text size in pixel.
void SetFillStyle(Style_t style) override
Set the fill area style.
void SetDashes(GContext_t gc, Int_t offset, const char *dash_list, Int_t n) override
Sets the dash-offset and dash-list attributes for dashed line styles in the specified GC.
GContext_t CreateGC(Drawable_t id, GCValues_t *gval) override
Creates a graphics context using the provided GCValues_t *gval structure.
void GetPasteBuffer(Window_t id, Atom_t atom, TString &text, Int_t &nchar, Bool_t del) override
Gets contents of the paste buffer "atom" into the string "text".
Int_t SetTextFont(char *fontname, ETextSetMode mode) override
Sets text font to specified name "fontname".This function returns 0 if the specified font is found,...
Region_t CreateRegion() override
Creates a new empty region.
void SetTextAttributes() override
Invoke the DialogCanvas Text attributes.
void GrabKey(Window_t id, Int_t keycode, UInt_t modifier, Bool_t grab=kTRUE) override
Establishes a passive grab on the keyboard.
Width_t GetLineWidth() const override
Return the line width.
Int_t AddWindow(ULongptr_t qwid, UInt_t w, UInt_t h) override
Registers a window created by Qt as a ROOT window.
Window_t GetParent(Window_t id) const override
might be thread unsafe (?)
Int_t InitWindow(ULongptr_t window) override
Creates a new window and return window number.
void SetTextFont(Font_t fontnumber=62) override
Set the text font.
void WMDeleteNotify(Window_t id) override
Tells WM to send message when window is closed via WM.
void DeletePictureData(void *data) override
Delete picture data created by the function ReadPictureDataFromFile.
void SetWMState(Window_t id, EInitialState state) override
Sets the initial state of the window "id": either kNormalState or kIconicState.
void DestroySubwindows(Window_t id) override
The DestroySubwindows function destroys all inferior windows of the specified window,...
void SendEvent(Window_t id, Event_t *ev) override
Send event ev to window id.
TGWin32VirtualXProxy(const char *name, const char *title)
void SetWMTransientHint(Window_t id, Window_t main_id) override
Tells window manager that the window "id" is a transient window of the window "main_id".
void SetDrawMode(EDrawMode mode) override
Sets the drawing mode.
void GetFontProperties(FontStruct_t font, Int_t &max_ascent, Int_t &max_descent) override
Returns the font properties.
Window_t CreateWindow(Window_t parent, Int_t x, Int_t y, UInt_t w, UInt_t h, UInt_t border, Int_t depth, UInt_t clss, void *visual, SetWindowAttributes_t *attr, UInt_t wtype) override
Creates an unmapped subwindow for a specified parent window and returns the created window.
Colormap_t GetColormap() const override
Returns handle to colormap.
void SetMarkerStyle(Style_t markerstyle) override
Set the marker style.
void CopyArea(Drawable_t src, Drawable_t dest, GContext_t gc, Int_t src_x, Int_t src_y, UInt_t width, UInt_t height, Int_t dest_x, Int_t dest_y) override
Combines the specified rectangle of "src" with the specified rectangle of "dest" according to the "gc...
Window_t GetDefaultRootWindow() const override
Returns handle to the default root window created when calling XOpenDisplay().
void SetDoubleBufferON() override
Turns double buffer mode on.
Bool_t PointInRegion(Int_t x, Int_t y, Region_t reg) override
Returns kTRUE if the point [x, y] is contained in the region reg.
void DestroyRegion(Region_t reg) override
Destroys the region "reg".
void ReadGIF(Int_t x0, Int_t y0, const char *file)
void GetWindowAttributes(Window_t id, WindowAttributes_t &attr) override
The WindowAttributes_t structure is set to default.
void WritePixmap(Int_t wid, UInt_t w, UInt_t h, char *pxname) override
Writes the pixmap "wid" in the bitmap file "pxname".
void ResetAttText(Option_t *toption="") override
Reset this text attributes to default values.
void CloseDisplay() override
Closes connection to display server and destroys all windows.
void SelectWindow(Int_t wid) override
Selects the window "wid" to which subsequent output is directed.
void QueryPointer(Int_t &ix, Int_t &iy) override
Returns the pointer position.
void SetPrimarySelectionOwner(Window_t id) override
Makes the window "id" the current owner of the primary selection.
void SetLineStyle(Style_t linestyle) override
Set the line style.
Bool_t HasTTFonts() const override
Returns True when TrueType fonts are used.
void MapWindow(Window_t id) override
Maps the window "id" and all of its subwindows that have had map requests.
Window_t GetInputFocus() override
Returns the window id of the window having the input focus.
void GrabButton(Window_t id, EMouseButton button, UInt_t modifier, UInt_t evmask, Window_t confine, Cursor_t cursor, Bool_t grab=kTRUE) override
Establishes a passive grab on a certain mouse button.
ULong_t GetPixel(Color_t cindex) override
Returns pixel value associated to specified ROOT color number "cindex".
void LowerWindow(Window_t id) override
Lowers the specified window "id" to the bottom of the stack so that it does not obscure any sibling w...
Int_t RequestString(Int_t x, Int_t y, char *text) override
Requests string: text is displayed and can be edited with Emacs-like keybinding.
void SetCursor(Int_t win, ECursor cursor) override
The cursor "cursor" will be used when the pointer is in the window "wid".
void CopyGC(GContext_t org, GContext_t dest, Mask_t mask) override
Copies the specified components from the source GC "org" to the destination GC "dest".
Handle_t GetNativeEvent() const override
Returns the current native event handle.
void QueryColor(Colormap_t cmap, ColorStruct_t &color) override
Returns the current RGB value for the pixel in the "color" structure.
void SetClassHints(Window_t id, char *className, char *resourceName) override
Sets the windows class and resource name.
void SetDoubleBufferOFF() override
Turns double buffer mode off.
Color_t GetLineColor() const override
Return the line color.
void SetMWMHints(Window_t id, UInt_t value, UInt_t funcs, UInt_t input) override
Sets decoration style.
Window_t GetCurrentWindow() const override
Return a pointer to the current window.
Bool_t Init(void *display=0) override
Initializes the X system.
Int_t EventsPending() override
Return number of pending events.
void SetCursor(Window_t id, Cursor_t curid) override
Sets the cursor "curid" to be used when the pointer is in the window "id".
Style_t GetLineStyle() const override
Return the line style.
Bool_t IsCmdThread() const override
Return kTRUE if we are inside cmd/server thread.
Bool_t ReadPictureDataFromFile(const char *filename, char ***ret_data) override
Reads picture data from file "filename" and store it in "ret_data".
Pixmap_t CreateBitmap(Drawable_t id, const char *bitmap, UInt_t width, UInt_t height) override
Creates a bitmap (i.e.
void GetRegionBox(Region_t reg, Rectangle_t *rect) override
Returns smallest enclosing rectangle.
void ClearWindow() override
Clears the entire area of the current window.
void UnionRectWithRegion(Rectangle_t *rect, Region_t src, Region_t dest) override
Updates the destination region from a union of the specified rectangle and the specified source regio...
void RaiseWindow(Window_t id) override
Raises the specified window to the top of the stack so that no sibling window obscures it.
void DeleteFont(FontStruct_t fs) override
Explicitly deletes the font structure "fs" obtained via LoadQueryFont().
Region_t PolygonRegion(Point_t *points, Int_t np, Bool_t winding) override
Returns a region for the polygon defined by the points array.
Int_t GetDoubleBuffer(Int_t wid) override
Queries the double buffer value for the window "wid".
static TVirtualX * RealObject()
void SelectInput(Window_t id, UInt_t evmask) override
Defines which input events the window is interested in.
void CopyPixmap(Int_t wid, Int_t xpos, Int_t ypos) override
Copies the pixmap "wid" at the position [xpos,ypos] in the current window.
void NextEvent(Event_t &event) override
Process next event in the queue - if any.
void DrawText(Int_t x, Int_t y, Float_t angle, Float_t mgn, const char *text, ETextMode mode) override
Draws a text string using current font.
void UnmapWindow(Window_t id) override
Unmaps the specified window "id".
void SetLineAttributes() override
Invoke the DialogCanvas Line attributes.
This class is the basic interface to the Win32 graphics system.
Definition TGWin32.h:64
Basic string class.
Definition TString.h:139
Semi-Abstract base class defining a generic interface to the underlying, low level,...
Definition TVirtualX.h:46
Double_t y[n]
Definition legend1.C:17
Double_t x[n]
Definition legend1.C:17
const Int_t n
Definition legend1.C:16
Definition file.py:1
Event structure.
Definition GuiTypes.h:174
Graphics context structure.
Definition GuiTypes.h:224
Point structure (maps to the X11 XPoint structure)
Definition GuiTypes.h:356
Rectangle structure (maps to the X11 XRectangle structure)
Definition GuiTypes.h:361
Used for drawing line segments (maps to the X11 XSegments structure)
Definition GuiTypes.h:351
Attributes that can be used when creating or changing a window.
Definition GuiTypes.h:93
Window attributes that can be inquired.
Definition GuiTypes.h:114
#define dest(otri, vertexptr)
Definition triangle.c:1041
#define org(otri, vertexptr)
Definition triangle.c:1038