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