Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGWin32VirtualXProxy Class Reference

Definition at line 30 of file TGWin32VirtualXProxy.h.

Public Member Functions

 TGWin32VirtualXProxy ()
 
 TGWin32VirtualXProxy (const char *name, const char *title)
 
 ~TGWin32VirtualXProxy () override
 
Int_t AddWindow (ULongptr_t qwid, UInt_t w, UInt_t h) override
 Registers a window created by Qt as a ROOT window.
 
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.
 
void Bell (Int_t percent) override
 Sets the sound bell. Percent is loudness from -100% to 100%.
 
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 specified time is no earlier than the last-pointer-grab time and no later than the current X server time.
 
void ChangeGC (GContext_t gc, GCValues_t *gval) override
 Changes the components specified by the mask in gval for the specified GC.
 
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 event on that window.
 
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 event on that window.
 
void ChangeWindowAttributes (Window_t id, SetWindowAttributes_t *attr) override
 Changes the attributes of the specified window "id" according the values provided in "attr".
 
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 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 window's background pixel or pixmap.
 
void ClearWindow () override
 Clears the entire area of the current window.
 
void ClearWindow (Window_t id) override
 Clears the entire area in the specified window and it is equivalent to ClearArea(id, 0, 0, 0, 0)
 
void CloseDisplay () override
 Closes connection to display server and destroys all windows.
 
void ClosePixmap () override
 Deletes current pixmap.
 
void CloseWindow () override
 Deletes current window.
 
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.
 
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.
 
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".
 
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".
 
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.
 
Pixmap_t CreateBitmap (Drawable_t id, const char *bitmap, UInt_t width, UInt_t height) override
 Creates a bitmap (i.e.
 
Cursor_t CreateCursor (ECursor cursor) override
 Creates the specified cursor.
 
GContext_t CreateGC (Drawable_t id, GCValues_t *gval) override
 Creates a graphics context using the provided GCValues_t *gval structure.
 
Drawable_t CreateImage (UInt_t width, UInt_t height) override
 Allocates the memory needed for an drawable.
 
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.
 
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".
 
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 that identifies it.
 
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.
 
Pixmap_t CreatePixmapFromData (unsigned char *bits, UInt_t width, UInt_t height) override
 create pixmap from RGB data.
 
Region_t CreateRegion () override
 Creates a new empty region.
 
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.
 
void DeleteFont (FontStruct_t fs) override
 Explicitly deletes the font structure "fs" obtained via LoadQueryFont().
 
void DeleteGC (GContext_t gc) override
 Deletes the specified GC "gc".
 
void DeleteImage (Drawable_t img) override
 Deallocates the memory associated with the image img.
 
void DeletePictureData (void *data) override
 Delete picture data created by the function ReadPictureDataFromFile.
 
void DeletePixmap (Pixmap_t pmap) override
 Explicitly deletes the pixmap resource "pmap".
 
void DeleteProperty (Window_t, Atom_t &) override
 Deletes the specified property only if the property was defined on the specified window and causes the X server to generate a PropertyNotify event on the window unless the property does not exist.
 
void DestroyRegion (Region_t reg) override
 Destroys the region "reg".
 
void DestroySubwindows (Window_t id) override
 The DestroySubwindows function destroys all inferior windows of the specified window, in bottom-to-top stacking order.
 
void DestroyWindow (Window_t id) override
 Destroys the window "id" as well as all of its subwindows.
 
const char * DisplayName (const char *=0) override
 Returns hostname on which the display is opened.
 
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 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 DrawFillArea (Int_t n, TPoint *xy) override
 Fills area described by the polygon.
 
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, y1) and (x2, y2).
 
void DrawLine (Int_t x1, Int_t y1, Int_t x2, Int_t y2) override
 Draws a line.
 
void DrawPolyLine (Int_t n, TPoint *xy) override
 Draws a line through all points in the list.
 
void DrawPolyMarker (Int_t n, TPoint *xy) override
 Draws "n" markers with the current attributes at position [x,y].
 
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].
 
void DrawSegments (Drawable_t id, GContext_t gc, Segment_t *seg, Int_t nseg) override
 Draws multiple line segments.
 
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 operation on the drawable.
 
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 DrawText (Int_t, Int_t, Float_t, Float_t, const wchar_t *, ETextMode) override
 Draws a text string using current font.
 
Bool_t EmptyRegion (Region_t reg) override
 Returns kTRUE if the region reg is empty.
 
Bool_t EqualRegion (Region_t rega, Region_t regb) override
 Returns kTRUE if the two regions have the same offset, size, and shape.
 
Int_t EventsPending () override
 Return number of pending events.
 
void FillPolygon (Window_t id, GContext_t gc, Point_t *points, Int_t npnt) override
 Fills the region closed by the specified path.
 
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].
 
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, with a maximum depth of maxd.
 
void FreeColor (Colormap_t cmap, ULong_t pixel) override
 Frees color cell with specified pixel value.
 
void FreeFontNames (char **fontlist) override
 Frees the specified the array of strings "fontlist".
 
void FreeFontStruct (FontStruct_t fs) override
 Frees the font structure "fs".
 
void GetCharacterUp (Float_t &chupx, Float_t &chupy) override
 Returns character up vector.
 
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:
 
Colormap_t GetColormap () const override
 Returns handle to colormap.
 
Window_t GetCurrentWindow () const override
 Return a pointer to the current window.
 
Window_t GetDefaultRootWindow () const override
 Returns handle to the default root window created when calling XOpenDisplay().
 
Int_t GetDepth () const override
 Returns depth of screen (number of bit planes).
 
Display_t GetDisplay () const override
 Returns handle to display (might be useful in some cases where direct X11 manipulation outside of TVirtualX is needed, e.g.
 
Int_t GetDoubleBuffer (Int_t wid) override
 Queries the double buffer value for the window "wid".
 
EDrawMode GetDrawMode ()
 
Color_t GetFillColor () const override
 Return the fill area color.
 
Style_t GetFillStyle () const override
 Return the fill area style.
 
FontH_t GetFontHandle (FontStruct_t fs) override
 Returns the font handle of the specified font structure "fs".
 
void GetFontProperties (FontStruct_t font, Int_t &max_ascent, Int_t &max_descent) override
 Returns the font properties.
 
FontStruct_t GetFontStruct (FontH_t fh) override
 Retrieves the associated font structure of the font specified font handle "fh".
 
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 GCValues_t structure)
 
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 GetImageSize (Drawable_t id, UInt_t &width, UInt_t &height) override
 Returns the width and height of the image id.
 
Window_t GetInputFocus () override
 Returns the window id of the window having the input focus.
 
Color_t GetLineColor () const override
 Return the line color.
 
Style_t GetLineStyle () const override
 Return the line style.
 
Width_t GetLineWidth () const override
 Return the line width.
 
Color_t GetMarkerColor () const override
 Return the marker color.
 
Size_t GetMarkerSize () const override
 Return the marker size.
 
Style_t GetMarkerStyle () const override
 Return the marker style.
 
Handle_t GetNativeEvent () const override
 Returns the current native event handle.
 
Window_t GetParent (Window_t id) const override
 might be thread unsafe (?)
 
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".
 
ULong_t GetPixel (Color_t cindex) override
 Returns pixel value associated to specified ROOT color number "cindex".
 
void GetPlanes (Int_t &nplanes) override
 Returns the maximum number of planes.
 
Window_t GetPrimarySelectionOwner () override
 Returns the window id of the current owner of the primary selection.
 
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, 16-bit, or 32-bit items transferred; the number of bytes remaining to be read in the property; and a pointer to the data actually returned.
 
void GetRegionBox (Region_t reg, Rectangle_t *rect) override
 Returns smallest enclosing rectangle.
 
void GetRGB (Int_t index, Float_t &r, Float_t &g, Float_t &b) override
 Returns RGB values for color "index".
 
Int_t GetScreen () const override
 Returns screen number.
 
Short_t GetTextAlign () const override
 Return the text alignment.
 
Float_t GetTextAngle () const override
 Return the text angle.
 
Color_t GetTextColor () const override
 Return the text color.
 
void GetTextExtent (UInt_t &, UInt_t &, wchar_t *) override
 Returns the size of the specified character string "mess".
 
void GetTextExtent (UInt_t &w, UInt_t &h, char *mess) override
 Returns the size of the specified character string "mess".
 
Font_t GetTextFont () const override
 Return the text font.
 
Float_t GetTextMagnitude () override
 Returns the current font magnification factor.
 
Float_t GetTextSize () const override
 Return the text size.
 
Visual_t GetVisual () const override
 Returns handle to visual.
 
void GetWindowAttributes (Window_t id, WindowAttributes_t &attr) override
 The WindowAttributes_t structure is set to default.
 
Window_t GetWindowID (Int_t wid) override
 Returns the X11 window identifier.
 
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".
 
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.
 
void GrabKey (Window_t id, Int_t keycode, UInt_t modifier, Bool_t grab=kTRUE) override
 Establishes a passive grab on the keyboard.
 
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.
 
Bool_t HasTTFonts () const override
 Returns True when TrueType fonts are used.
 
void IconifyWindow (Window_t id) override
 Iconifies the window "id".
 
Bool_t Init (void *display=0) override
 Initializes the X system.
 
Int_t InitWindow (ULongptr_t window) override
 Creates a new window and return window number.
 
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 IntersectRegion (Region_t rega, Region_t regb, Region_t result) override
 Computes the intersection of two regions.
 
Bool_t IsCmdThread () const override
 Return kTRUE if we are inside cmd/server thread.
 
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.
 
Bool_t IsTransparent () const override
 
Int_t KeysymToKeycode (UInt_t keysym) override
 Converts the "keysym" to the appropriate keycode.
 
char ** ListFonts (const char *fontname, Int_t max, Int_t &count) override
 Returns list of font names matching fontname regexp, like "-*-times-*".
 
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 pointer to the appropriate FontStruct_t structure.
 
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 the event structure and the current keyboard mapping).
 
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 windows.
 
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 window on the top of of the stack of all windows.
 
void MapSubwindows (Window_t id) override
 Maps all subwindows for the specified window "id" in top-to-bottom stacking order.
 
void MapWindow (Window_t id) override
 Maps the window "id" and all of its subwindows that have had map requests.
 
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.
 
void MoveWindow (Int_t wid, Int_t x, Int_t y) override
 Moves the window "wid" to the specified x and y coordinates.
 
void MoveWindow (Window_t id, Int_t x, Int_t y) override
 Moves the specified window to the specified x and y coordinates.
 
void NextEvent (Event_t &event) override
 Process next event in the queue - if any.
 
Int_t OpenDisplay (const char *dpyName=0) override
 Opens connection to display server (if such a thing exist on the current platform).
 
Int_t OpenPixmap (UInt_t w, UInt_t h) override
 Creates a pixmap of the width "w" and height "h" you specified.
 
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 colormap.
 
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.
 
Region_t PolygonRegion (Point_t *points, Int_t np, Bool_t winding) override
 Returns a region for the polygon defined by the points array.
 
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 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.
 
void QueryColor (Colormap_t cmap, ColorStruct_t &color) override
 Returns the current RGB value for the pixel in the "color" structure.
 
void QueryPointer (Int_t &ix, Int_t &iy) override
 Returns the pointer position.
 
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 window's origin.
 
void RaiseWindow (Window_t id) override
 Raises the specified window to the top of the stack so that no sibling window obscures it.
 
void ReadGIF (Int_t x0, Int_t y0, const char *file)
 
Bool_t ReadPictureDataFromFile (const char *filename, char ***ret_data) override
 Reads picture data from file "filename" and store it in "ret_data".
 
void RemoveWindow (ULongptr_t qwid) override
 Removes the created by Qt window "qwid".
 
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, removes it from its current position in the hierarchy, and inserts it as the child of the specified parent.
 
Int_t RequestLocator (Int_t mode, Int_t ctyp, Int_t &x, Int_t &y) override
 Requests Locator position.
 
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 RescaleWindow (Int_t wid, UInt_t w, UInt_t h) override
 Rescales the window "wid".
 
void ResetAttFill (Option_t *option="") override
 Reset this fill attributes to default values.
 
void ResetAttLine (Option_t *option="") override
 Reset this line attributes to default values.
 
void ResetAttMarker (Option_t *toption="") override
 Reset this marker attributes to the default values.
 
void ResetAttText (Option_t *toption="") override
 Reset this text attributes to default values.
 
Int_t ResizePixmap (Int_t wid, UInt_t w, UInt_t h) override
 Resizes the specified pixmap "wid".
 
void ResizeWindow (Int_t wid) override
 Resizes the window "wid" if necessary.
 
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 SelectInput (Window_t id, UInt_t evmask) override
 Defines which input events the window is interested in.
 
void SelectWindow (Int_t wid) override
 Selects the window "wid" to which subsequent output is directed.
 
void SendEvent (Window_t id, Event_t *ev) override
 Send event ev to window id.
 
void SetCharacterUp (Float_t chupx, Float_t chupy) override
 Sets character up vector.
 
void SetClassHints (Window_t id, char *className, char *resourceName) override
 Sets the windows class and resource name.
 
void SetClipOFF (Int_t wid) override
 Turns off the clipping for the window "wid".
 
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 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 SetCursor (Int_t win, ECursor cursor) override
 The cursor "cursor" will be used when the pointer is in the window "wid".
 
void SetCursor (Window_t id, Cursor_t curid) override
 Sets the cursor "curid" to be used when the pointer is in the window "id".
 
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.
 
void SetDNDAware (Window_t win, Atom_t *typelist) override
 Add XdndAware property and the list of drag and drop types to the Window win.
 
void SetDoubleBuffer (Int_t wid, Int_t mode) override
 Sets the double buffer on/off on the window "wid".
 
void SetDoubleBufferOFF () override
 Turns double buffer mode off.
 
void SetDoubleBufferON () override
 Turns double buffer mode on.
 
void SetDrawMode (EDrawMode mode) override
 Sets the drawing mode.
 
void SetFillAttributes () override
 Invoke the DialogCanvas Fill attributes.
 
void SetFillColor (Color_t cindex) override
 Set the fill area color.
 
void SetFillStyle (Style_t style) override
 Set the fill area style.
 
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).
 
void SetIconName (Window_t id, char *name) override
 Sets the window icon name.
 
void SetIconPixmap (Window_t id, Pixmap_t pix) override
 Sets the icon name pixmap.
 
void SetInputFocus (Window_t id) override
 Changes the input focus to specified window "id".
 
void SetKeyAutoRepeat (Bool_t on=kTRUE) override
 Turns key auto repeat on (kTRUE) or off (kFALSE).
 
void SetLineAttributes () override
 Invoke the DialogCanvas Line attributes.
 
void SetLineColor (Color_t cindex) override
 Set the line color.
 
void SetLineStyle (Style_t linestyle) override
 Set the line style.
 
void SetLineType (Int_t n, Int_t *dash) override
 Sets the line type.
 
void SetLineWidth (Width_t width) override
 Set the line width.
 
void SetMarkerAttributes () override
 Invoke the DialogCanvas Marker attributes.
 
void SetMarkerColor (Color_t cindex) override
 Set the marker color.
 
void SetMarkerSize (Float_t markersize) override
 Set the marker size.
 
void SetMarkerStyle (Style_t markerstyle) override
 Set the marker style.
 
void SetMWMHints (Window_t id, UInt_t value, UInt_t funcs, UInt_t input) override
 Sets decoration style.
 
void SetOpacity (Int_t percent) override
 Sets opacity of the current window.
 
void SetPrimarySelectionOwner (Window_t id) override
 Makes the window "id" the current owner of the primary selection.
 
void SetRGB (Int_t cindex, Float_t r, Float_t g, Float_t b) override
 Sets color intensities the specified color index "cindex".
 
Bool_t SetSelectionOwner (Window_t, Atom_t &) override
 Changes the owner and last-change time for the specified selection.
 
void SetTextAlign (Short_t talign=11) override
 Set the text alignment.
 
void SetTextAngle (Float_t tangle=0) override
 Set the text angle.
 
void SetTextAttributes () override
 Invoke the DialogCanvas Text attributes.
 
void SetTextColor (Color_t cindex=1) override
 Set the text color.
 
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, 1 if it is not.
 
void SetTextFont (Font_t fontnumber=62) override
 Set the text font.
 
void SetTextMagnitude (Float_t mgn) override
 Sets the current text magnification factor to "mgn".
 
void SetTextSize (Float_t textsize=1) override
 Set the text size.
 
void SetTextSizePixels (Int_t npixels) override
 Set the text size in pixel.
 
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 SetWindowBackground (Window_t id, ULong_t color) override
 Sets the background of the window "id" to the specified color value "color".
 
void SetWindowBackgroundPixmap (Window_t id, Pixmap_t pxm) override
 Sets the background pixmap of the window "id" to the specified pixmap "pxm".
 
void SetWindowName (Window_t id, char *name) override
 Sets the window name.
 
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 SetWMSize (Window_t id, UInt_t w, UInt_t h) override
 Tells window manager the desired size of window "id".
 
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 SetWMState (Window_t id, EInitialState state) override
 Sets the initial state of the window "id": either kNormalState or kIconicState.
 
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 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 SubtractRegion (Region_t rega, Region_t regb, Region_t result) override
 Subtracts regb from rega and stores the results in result.
 
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 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 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 region.
 
void UnionRegion (Region_t rega, Region_t regb, Region_t result) override
 Computes the union of two regions.
 
void UnmapWindow (Window_t id) override
 Unmaps the specified window "id".
 
void Update (Int_t mode=0) override
 Flushes (mode = 0, default) or synchronizes (mode = 1) X output buffer.
 
void UpdateWindow (Int_t mode) override
 Updates or synchronises client and server once (not permanent).
 
void Warp (Int_t ix, Int_t iy, Window_t id=0) override
 Sets the pointer position.
 
void WMDeleteNotify (Window_t id) override
 Tells WM to send message when window is closed via WM.
 
Int_t WriteGIF (char *name) override
 Writes the current window into GIF file.
 
void WritePixmap (Int_t wid, UInt_t w, UInt_t h, char *pxname) override
 Writes the pixmap "wid" in the bitmap file "pxname".
 
void XorRegion (Region_t rega, Region_t regb, Region_t result) override
 Calculates the difference between the union and intersection of two regions.
 
- Public Member Functions inherited from TVirtualX
 TVirtualX ()
 
 TVirtualX (const char *name, const char *title)
 Ctor of ABC.
 
virtual ~TVirtualX ()
 
virtual Int_t AddPixmap (ULongptr_t pixid, UInt_t w, UInt_t h)
 Registers a pixmap created by TGLManager as a ROOT pixmap.
 
virtual void BeginModalSessionFor (Window_t window)
 Start a modal session for a dialog window.
 
virtual void CreateOpenGLContext (Int_t wid=0)
 Creates OpenGL context for window "wid".
 
virtual Handle_t CreateOpenGLContext (Window_t windowID, Handle_t sharedContext)
 Creates OpenGL context for window "windowID".
 
virtual Window_t CreateOpenGLWindow (Window_t parentID, UInt_t width, UInt_t height, const std::vector< std::pair< UInt_t, Int_t > > &format)
 Create window with special pixel format. Noop everywhere except Cocoa.
 
virtual void DeleteOpenGLContext (Int_t wid=0)
 Deletes OpenGL context for window "wid".
 
virtual void DispatchClientMessage (UInt_t messageID)
 Force processing of event, sent by SendEvent before.
 
virtual UInt_t ExecCommand (TGWin32Command *code)
 Executes the command "code" coming from the other threads (Win32)
 
virtual void FlushOpenGLBuffer (Handle_t ctx)
 Flushes OpenGL buffer.
 
virtual Handle_t GetCurrentOpenGLContext ()
 Asks OpenGL subsystem about the current OpenGL context.
 
EDrawMode GetDrawMode ()
 
virtual Int_t GetFontAscent () const
 Returns the ascent of the current font (in pixels).
 
virtual Int_t GetFontAscent (const char *mess) const
 Default version is noop, but in principle what ROOT understands as ascent is text related.
 
virtual Int_t GetFontDescent () const
 Returns the descent of the current font (in pixels.
 
virtual Int_t GetFontDescent (const char *mess) const
 Default version is noop, but in principle what ROOT understands as descent requires a certain text.
 
virtual FontStruct_t GetGCFont (GContext_t gc)
 Return the font associated with the graphics context gc.
 
virtual Double_t GetOpenGLScalingFactor ()
 On a HiDPI resolution it can be > 1., this means glViewport should use scaled width and height.
 
TClassIsA () const override
 
virtual Bool_t MakeOpenGLContextCurrent (Handle_t ctx, Window_t windowID)
 Makes context ctx current OpenGL context.
 
virtual void MapGCFont (GContext_t, FontStruct_t)
 Map the XftFont with the Graphics Context using it.
 
virtual Bool_t NeedRedraw (ULongptr_t tgwindow, Bool_t force)
 Notify the low level GUI layer ROOT requires "tgwindow" to be updated.
 
virtual Pixmap_t ReadGIF (Int_t x0, Int_t y0, const char *file, Window_t id=0)
 If id is NULL - loads the specified gif file at position [x0,y0] in the current window.
 
virtual UInt_t ScreenWidthMM () const
 Returns the width of the screen in millimeters.
 
virtual void SelectPixmap (Int_t qpixid)
 Selects the pixmap "qpixid".
 
void SetFillColor (Color_t cindex) override
 Sets color index "cindex" for fill areas.
 
void SetFillStyle (Style_t style) override
 Sets fill area style.
 
void SetLineColor (Color_t cindex) override
 Sets color index "cindex" for drawing lines.
 
void SetLineStyle (Style_t linestyle) override
 Sets the line style.
 
void SetLineWidth (Width_t width) override
 Sets the line width.
 
void SetMarkerColor (Color_t cindex) override
 Sets color index "cindex" for markers.
 
void SetMarkerSize (Float_t markersize) override
 Sets marker size index.
 
void SetMarkerStyle (Style_t markerstyle) override
 Sets marker style.
 
void SetTextAlign (Short_t talign=11) override
 Sets the text alignment.
 
void SetTextColor (Color_t cindex) override
 Sets the color index "cindex" for text.
 
void SetTextFont (Font_t fontnumber) override
 Sets the current text font number.
 
void SetTextSize (Float_t textsize) override
 Sets the current text size to "textsize".
 
void Streamer (TBuffer &) override
 Stream an object of class TObject.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual Int_t SupportsExtension (const char *ext) const
 Returns 1 if window system server supports extension given by the argument, returns 0 in case extension is not supported and returns -1 in case of error (like server not initialized).
 
virtual void Sync (Int_t mode)
 Set synchronisation on or off.
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 TNamed copy ctor.
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 TNamed destructor.
 
void Clear (Option_t *option="") override
 Set name and title to empty strings ("").
 
TObjectClone (const char *newname="") const override
 Make a clone of an object using the Streamer facility.
 
Int_t Compare (const TObject *obj) const override
 Compare two TNamed objects.
 
void Copy (TObject &named) const override
 Copy this to obj.
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer.
 
const char * GetName () const override
 Returns name of object.
 
const char * GetTitle () const override
 Returns title of object.
 
ULong_t Hash () const override
 Return hash value for this object.
 
Bool_t IsSortable () const override
 
void ls (Option_t *option="") const override
 List TNamed name and title.
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator.
 
void Print (Option_t *option="") const override
 Print TNamed name and title.
 
virtual void SetName (const char *name)
 Set the name of the TNamed.
 
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title).
 
virtual void SetTitle (const char *title="")
 Set the title of the TNamed.
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor.
 
 TObject (const TObject &object)
 TObject copy ctor.
 
virtual ~TObject ()
 TObject destructor.
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract.
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action.
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
 
virtual void Delete (Option_t *option="")
 Delete this object.
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects.
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
 
virtual void Dump () const
 Dump contents of object on stdout.
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 Execute method on this object with the given parameter string, e.g.
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 Execute method on this object with parameters stored in the TObjArray.
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py).
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
 
virtual const char * GetIconName () const
 Returns mime type name of object.
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 Return the unique object id.
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 IsDestructed.
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification (the base implementation is no-op).
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
 
void operator delete (void *ptr)
 Operator delete.
 
void operator delete (void *ptr, void *vp)
 Only called by placement new when throwing an exception.
 
void operator delete[] (void *ptr)
 Operator delete [].
 
void operator delete[] (void *ptr, void *vp)
 Only called by placement new[] when throwing an exception.
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *vp)
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator.
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself.
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out".
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.
 
- Public Member Functions inherited from TAttLine
 TAttLine ()
 AttLine default constructor.
 
 TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth)
 AttLine normal constructor.
 
virtual ~TAttLine ()
 AttLine destructor.
 
void Copy (TAttLine &attline) const
 Copy this line attributes to a new TAttLine.
 
Int_t DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
 Compute distance from point px,py to a line.
 
virtual void Modify ()
 Change current line attributes if necessary.
 
virtual void SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
 Save line attributes as C++ statement(s) on output stream out.
 
virtual void SetLineColorAlpha (Color_t lcolor, Float_t lalpha)
 Set a transparent line color.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TAttFill
 TAttFill ()
 AttFill default constructor.
 
 TAttFill (Color_t fcolor, Style_t fstyle)
 AttFill normal constructor.
 
virtual ~TAttFill ()
 AttFill destructor.
 
void Copy (TAttFill &attfill) const
 Copy this fill attributes to a new TAttFill.
 
virtual void Modify ()
 Change current fill area attributes if necessary.
 
virtual void SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
 Save fill attributes as C++ statement(s) on output stream out.
 
virtual void SetFillColorAlpha (Color_t fcolor, Float_t falpha)
 Set a transparent fill color.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TAttText
 TAttText ()
 AttText default constructor.
 
 TAttText (Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize)
 AttText normal constructor.
 
virtual ~TAttText ()
 AttText destructor.
 
void Copy (TAttText &atttext) const
 Copy this text attributes to a new TAttText.
 
virtual Float_t GetTextSizePercent (Float_t size)
 Return the text in percent of the pad size.
 
virtual void Modify ()
 Change current text attributes if necessary.
 
virtual void SaveTextAttributes (std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1)
 Save text attributes as C++ statement(s) on output stream out.
 
virtual void SetTextColorAlpha (Color_t tcolor, Float_t talpha)
 Set a transparent marker color.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TAttMarker
 TAttMarker ()
 TAttMarker default constructor.
 
 TAttMarker (Color_t color, Style_t style, Size_t msize)
 TAttMarker normal constructor.
 
virtual ~TAttMarker ()
 TAttMarker destructor.
 
void Copy (TAttMarker &attmarker) const
 Copy this marker attributes to a new TAttMarker.
 
virtual void Modify ()
 Change current marker attributes if necessary.
 
virtual void SaveMarkerAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1)
 Save line attributes as C++ statement(s) on output stream out.
 
virtual void SetMarkerColorAlpha (Color_t mcolor, Float_t malpha)
 Set a transparent marker color.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TGWin32ProxyBase
 TGWin32ProxyBase ()
 ctor
 
virtual ~TGWin32ProxyBase ()
 dtor
 
virtual void ExecuteCallBack (Bool_t sync)
 Executes all batched callbacks and the latest callback This method is executed by server thread.
 
ULong_t GetId () const
 
virtual Double_t GetMilliSeconds ()
 returns elapsed time in milliseconds with microseconds precision
 

Static Public Member Functions

static TVirtualXProxyObject ()
 
static TVirtualXRealObject ()
 
- Static Public Member Functions inherited from TVirtualX
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static TVirtualX *& Instance ()
 Returns gVirtualX global.
 
- Static Public Member Functions inherited from TNamed
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
 
static Bool_t GetObjectStat ()
 Get status of object stat flag.
 
static void SetDtorOnly (void *obj)
 Set destructor only flag.
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
 
- Static Public Member Functions inherited from TAttLine
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TAttFill
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TAttText
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TAttMarker
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Width_t GetMarkerLineWidth (Style_t style)
 Internal helper function that returns the line width of the given marker style (0 = filled marker)
 
static Style_t GetMarkerStyleBase (Style_t style)
 Internal helper function that returns the corresponding marker style with line width 1 for the given style.
 
- Static Public Member Functions inherited from TGWin32ProxyBase
static void GlobalLock ()
 lock any proxy (client thread)
 
static void GlobalUnlock ()
 unlock any proxy (client thread)
 
static Bool_t IsGloballyLocked ()
 Check the status of the lock.
 
static void Lock ()
 enter critical section
 
static Bool_t Ping ()
 send ping messsage to server thread
 
static void Unlock ()
 leave critical section
 

Static Protected Attributes

static TVirtualXfgRealObject = 0
 
- Static Protected Attributes inherited from TGWin32ProxyBase
static Long_t fgLock = 0
 fgLock=1 - all client threads locked
 
static UInt_t fMaxResponseTime = 0
 max period for waiting response from server thread
 

Friends

class TGWin32
 

Additional Inherited Members

- Public Types inherited from TVirtualX
enum  EBoxMode { kHollow , kFilled }
 
enum  EDrawMode { kCopy = 1 , kXor , kInvert }
 
enum  ETextMode { kClear , kOpaque }
 
enum  ETextSetMode { kCheck , kLoad }
 
- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = (1ULL << ( 0 )) , kOverwrite = (1ULL << ( 1 )) , kWriteDelete = (1ULL << ( 2 )) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = (1ULL << ( 3 )) }
 
enum  EStatusBits {
  kCanDelete = (1ULL << ( 0 )) , kMustCleanup = (1ULL << ( 3 )) , kIsReferenced = (1ULL << ( 4 )) , kHasUUID = (1ULL << ( 5 )) ,
  kCannotPick = (1ULL << ( 6 )) , kNoContextMenu = (1ULL << ( 8 )) , kInvalidObject = (1ULL << ( 13 ))
}
 
- Static Public Attributes inherited from TGWin32ProxyBase
static ULong_t fgMainThreadId = 0
 main thread ID
 
static ULong_t fgPingMessageId = 0
 ping message ID
 
static ULong_t fgPostMessageId = 0
 post message ID
 
static ULong_t fgUserThreadId = 0
 user (e.g. python) thread ID
 
- Protected Types inherited from TObject
enum  { kOnlyPrepStep = (1ULL << ( 3 )) }
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected).
 
void MakeZombie ()
 
- Protected Member Functions inherited from TGWin32ProxyBase
virtual Bool_t ForwardCallBack (Bool_t sync)
 if sync is kTRUE:
 
virtual void SendExitMessage ()
 send exit message to server thread
 
- Protected Attributes inherited from TVirtualX
EDrawMode fDrawMode
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TAttLine
Color_t fLineColor
 Line color.
 
Style_t fLineStyle
 Line style.
 
Width_t fLineWidth
 Line width.
 
- Protected Attributes inherited from TAttFill
Color_t fFillColor
 Fill area color.
 
Style_t fFillStyle
 Fill area style.
 
- Protected Attributes inherited from TAttText
Short_t fTextAlign
 Text alignment.
 
Float_t fTextAngle
 Text angle.
 
Color_t fTextColor
 Text color.
 
Font_t fTextFont
 Text font.
 
Float_t fTextSize
 Text size.
 
- Protected Attributes inherited from TAttMarker
Color_t fMarkerColor
 Marker color.
 
Size_t fMarkerSize
 Marker size.
 
Style_t fMarkerStyle
 Marker style.
 
- Protected Attributes inherited from TGWin32ProxyBase
Int_t fBatchLimit
 batch limit
 
TGWin32CallBack fCallBack
 callback function (executed by "main" thread)
 
ULong_t fId
 thread id. There is one proxy per client thread
 
Bool_t fIsVirtualX
 true if actual TVirtualX implementation
 
TListfListOfCallBacks
 list of callbacks (used for batch processing)
 
void * fParam
 arguments passed to/from callback function
 
TGWin32ProxyBasePrivatefPimpl
 very private data
 

#include <TGWin32VirtualXProxy.h>

Inheritance diagram for TGWin32VirtualXProxy:
[legend]

Constructor & Destructor Documentation

◆ TGWin32VirtualXProxy() [1/2]

TGWin32VirtualXProxy::TGWin32VirtualXProxy ( )
inline

Definition at line 38 of file TGWin32VirtualXProxy.h.

◆ TGWin32VirtualXProxy() [2/2]

TGWin32VirtualXProxy::TGWin32VirtualXProxy ( const char *  name,
const char *  title 
)
inline

Definition at line 39 of file TGWin32VirtualXProxy.h.

◆ ~TGWin32VirtualXProxy()

TGWin32VirtualXProxy::~TGWin32VirtualXProxy ( )
inlineoverride

Definition at line 40 of file TGWin32VirtualXProxy.h.

Member Function Documentation

◆ AddWindow()

Int_t TGWin32VirtualXProxy::AddWindow ( ULongptr_t  qwid,
UInt_t  w,
UInt_t  h 
)
overridevirtual

Registers a window created by Qt as a ROOT window.

Parameters
[in]qwidwindow identifier
[in]w,hthe width and height, which define the window size

Reimplemented from TVirtualX.

◆ AllocColor()

Bool_t TGWin32VirtualXProxy::AllocColor ( Colormap_t  cmap,
ColorStruct_t color 
)
overridevirtual

Allocates a read-only colormap entry corresponding to the closest RGB value supported by the hardware.

If no cell could be allocated it returns kFALSE, otherwise kTRUE.

The pixel value is set to default. Let system think we could allocate color.

Parameters
[in]cmapthe colormap
[in]colorspecifies and returns the values actually used in the cmap

Reimplemented from TVirtualX.

◆ Bell()

void TGWin32VirtualXProxy::Bell ( Int_t  percent)
overridevirtual

Sets the sound bell. Percent is loudness from -100% to 100%.

Reimplemented from TVirtualX.

◆ ChangeActivePointerGrab()

void TGWin32VirtualXProxy::ChangeActivePointerGrab ( Window_t  ,
UInt_t  ,
Cursor_t   
)
overridevirtual

Changes the specified dynamic parameters if the pointer is actively grabbed by the client and if the specified time is no earlier than the last-pointer-grab time and no later than the current X server time.

Reimplemented from TVirtualX.

◆ ChangeGC()

void TGWin32VirtualXProxy::ChangeGC ( GContext_t  gc,
GCValues_t gval 
)
overridevirtual

Changes the components specified by the mask in gval for the specified GC.

Parameters
[in]gcspecifies the GC to be changed
[in]gvalspecifies the mask and the values to be set

(see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ ChangeProperties()

void TGWin32VirtualXProxy::ChangeProperties ( Window_t  id,
Atom_t  property,
Atom_t  type,
Int_t  format,
UChar_t data,
Int_t  len 
)
overridevirtual

Alters the property for the specified window and causes the X server to generate a PropertyNotify event on that window.

Reimplemented from TVirtualX.

◆ ChangeProperty()

void TGWin32VirtualXProxy::ChangeProperty ( Window_t  id,
Atom_t  property,
Atom_t  type,
UChar_t data,
Int_t  len 
)
overridevirtual

Alters the property for the specified window and causes the X server to generate a PropertyNotify event on that window.

Parameters
[in]idthe window whose property you want to change
[in]propertyspecifies the property name
[in]typethe type of the property; the X server does not interpret the type but simply passes it back to an application that might ask about the window properties
[in]datathe property data
[in]lenthe length of the specified data format

Reimplemented from TVirtualX.

◆ ChangeWindowAttributes()

void TGWin32VirtualXProxy::ChangeWindowAttributes ( Window_t  id,
SetWindowAttributes_t attr 
)
overridevirtual

Changes the attributes of the specified window "id" according the values provided in "attr".

The mask data member of "attr" specifies which window attributes are defined in the attributes argument. This mask is the bitwise inclusive OR of the valid attribute mask bits; if it is zero, the attributes are ignored.

Reimplemented from TVirtualX.

◆ CheckEvent()

Bool_t TGWin32VirtualXProxy::CheckEvent ( Window_t  id,
EGEventType  type,
Event_t ev 
)
overridevirtual

Check if there is for window "id" an event of type "type".

Reimplemented from TVirtualX.

Definition at line 312 of file TGWin32VirtualXProxy.cxx.

◆ ClearArea()

void TGWin32VirtualXProxy::ClearArea ( Window_t  id,
Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
)
overridevirtual

Paints a rectangular area in the specified window "id" according to the specified dimensions with the window's background pixel or pixmap.

Parameters
[in]idspecifies the window
[in]x,ycoordinates, which are relative to the origin
[in]w,hthe width and height which define the rectangle dimensions

Reimplemented from TVirtualX.

◆ ClearWindow() [1/2]

void TGWin32VirtualXProxy::ClearWindow ( )
overridevirtual

Clears the entire area of the current window.

Reimplemented from TVirtualX.

◆ ClearWindow() [2/2]

void TGWin32VirtualXProxy::ClearWindow ( Window_t  id)
overridevirtual

Clears the entire area in the specified window and it is equivalent to ClearArea(id, 0, 0, 0, 0)

Reimplemented from TVirtualX.

◆ CloseDisplay()

void TGWin32VirtualXProxy::CloseDisplay ( )
overridevirtual

Closes connection to display server and destroys all windows.

Reimplemented from TVirtualX.

Definition at line 265 of file TGWin32VirtualXProxy.cxx.

◆ ClosePixmap()

void TGWin32VirtualXProxy::ClosePixmap ( )
overridevirtual

Deletes current pixmap.

Reimplemented from TVirtualX.

◆ CloseWindow()

void TGWin32VirtualXProxy::CloseWindow ( )
overridevirtual

Deletes current window.

Reimplemented from TVirtualX.

◆ ConvertPrimarySelection()

void TGWin32VirtualXProxy::ConvertPrimarySelection ( Window_t  id,
Atom_t  clipboard,
Time_t  when 
)
overridevirtual

Causes a SelectionRequest event to be sent to the current primary selection owner.

This event specifies the selection property (primary selection), the format into which to convert that data before storing it (target = XA_STRING), the property in which the owner will place the information (sel_property), the window that wants the information (id), and the time of the conversion request (when). The selection owner responds by sending a SelectionNotify event, which confirms the selected atom and type.

Reimplemented from TVirtualX.

◆ ConvertSelection()

void TGWin32VirtualXProxy::ConvertSelection ( Window_t  ,
Atom_t ,
Atom_t ,
Atom_t ,
Time_t  
)
overridevirtual

Requests that the specified selection be converted to the specified target type.

Reimplemented from TVirtualX.

◆ CopyArea()

void TGWin32VirtualXProxy::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 
)
overridevirtual

Combines the specified rectangle of "src" with the specified rectangle of "dest" according to the "gc".

Parameters
[in]srcsource rectangle
[in]destdestination rectangle
[in]gcgraphics context
[in]src_x,src_yspecify the x and y coordinates, which are relative to the origin of the source rectangle and specify upper-left corner.
[in]width,heightthe width and height, which are the dimensions of both the source and destination rectangles
[in]dest_x,dest_yspecify the upper-left corner of the destination rectangle

GC components in use: function, plane-mask, subwindow-mode, graphics-exposure, clip-x-origin, clip-y-origin, and clip-mask. (see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ CopyGC()

void TGWin32VirtualXProxy::CopyGC ( GContext_t  org,
GContext_t  dest,
Mask_t  mask 
)
overridevirtual

Copies the specified components from the source GC "org" to the destination GC "dest".

The "mask" defines which component to copy and it is a data member of GCValues_t.

Reimplemented from TVirtualX.

◆ CopyPixmap()

void TGWin32VirtualXProxy::CopyPixmap ( Int_t  wid,
Int_t  xpos,
Int_t  ypos 
)
overridevirtual

Copies the pixmap "wid" at the position [xpos,ypos] in the current window.

Reimplemented from TVirtualX.

◆ CreateBitmap()

Pixmap_t TGWin32VirtualXProxy::CreateBitmap ( Drawable_t  id,
const char *  bitmap,
UInt_t  width,
UInt_t  height 
)
overridevirtual

Creates a bitmap (i.e.

pixmap with depth 1) from the bitmap data.

Parameters
[in]idspecifies which screen the pixmap is created on
[in]bitmapthe data in bitmap format
[in]width,heightdefine the dimensions of the pixmap

Reimplemented from TVirtualX.

◆ CreateCursor()

Cursor_t TGWin32VirtualXProxy::CreateCursor ( ECursor  cursor)
overridevirtual

Creates the specified cursor.

(just return cursor from cursor pool). The cursor can be:

@ kRightSide
Definition GuiTypes.h:373
@ kBottomSide
Definition GuiTypes.h:373
@ kArrowRight
Definition GuiTypes.h:375
@ kTopLeft
Definition GuiTypes.h:372
@ kBottomRight
Definition GuiTypes.h:372
@ kArrowVer
Definition GuiTypes.h:374
@ kCaret
Definition GuiTypes.h:375
@ kTopSide
Definition GuiTypes.h:373
@ kLeftSide
Definition GuiTypes.h:373
@ kWatch
Definition GuiTypes.h:375
@ kMove
Definition GuiTypes.h:374
@ kTopRight
Definition GuiTypes.h:372
@ kBottomLeft
Definition GuiTypes.h:372
@ kHand
Definition GuiTypes.h:374
@ kCross
Definition GuiTypes.h:374
@ kRotate
Definition GuiTypes.h:374
@ kArrowHor
Definition GuiTypes.h:374
@ kPointer
Definition GuiTypes.h:375

Reimplemented from TVirtualX.

◆ CreateGC()

GContext_t TGWin32VirtualXProxy::CreateGC ( Drawable_t  id,
GCValues_t gval 
)
overridevirtual

Creates a graphics context using the provided GCValues_t *gval structure.

The mask data member of gval specifies which components in the GC are to be set using the information in the specified values structure. It returns a graphics context handle GContext_t that can be used with any destination drawable or O if the creation falls.

Reimplemented from TVirtualX.

◆ CreateImage()

Drawable_t TGWin32VirtualXProxy::CreateImage ( UInt_t  width,
UInt_t  height 
)
overridevirtual

Allocates the memory needed for an drawable.

Parameters
[in]widththe width of the image, in pixels
[in]heightthe height of the image, in pixels

Reimplemented from TVirtualX.

◆ CreatePictureFromData()

Bool_t TGWin32VirtualXProxy::CreatePictureFromData ( Drawable_t  id,
char **  data,
Pixmap_t pict,
Pixmap_t pict_mask,
PictureAttributes_t attr 
)
overridevirtual

Creates a picture pict from data in bitmap format.

The picture attributes "attr" are used for input and output. Returns kTRUE in case of success, kFALSE otherwise. If the mask "pict_mask" does not exist it is set to kNone.

Reimplemented from TVirtualX.

◆ CreatePictureFromFile()

Bool_t TGWin32VirtualXProxy::CreatePictureFromFile ( Drawable_t  id,
const char *  filename,
Pixmap_t pict,
Pixmap_t pict_mask,
PictureAttributes_t attr 
)
overridevirtual

Creates a picture pict from data in file "filename".

The picture attributes "attr" are used for input and output. Returns kTRUE in case of success, kFALSE otherwise. If the mask "pict_mask" does not exist it is set to kNone.

Reimplemented from TVirtualX.

◆ CreatePixmap() [1/2]

Pixmap_t TGWin32VirtualXProxy::CreatePixmap ( Drawable_t  id,
const char *  bitmap,
UInt_t  width,
UInt_t  height,
ULong_t  forecolor,
ULong_t  backcolor,
Int_t  depth 
)
overridevirtual

Creates a pixmap from bitmap data of the width, height, and depth you specified and returns a pixmap that identifies it.

The width and height arguments must be nonzero. The depth argument must be one of the depths supported by the screen of the specified drawable.

Parameters
[in]idspecifies which screen the pixmap is created on
[in]bitmapthe data in bitmap format
[in]width,heightdefine the dimensions of the pixmap
[in]forecolorthe foreground pixel values to use
[in]backcolorthe background pixel values to use
[in]depththe depth of the pixmap

Reimplemented from TVirtualX.

◆ CreatePixmap() [2/2]

Pixmap_t TGWin32VirtualXProxy::CreatePixmap ( Drawable_t  id,
UInt_t  w,
UInt_t  h 
)
overridevirtual

Creates a pixmap of the specified width and height and returns a pixmap ID that identifies it.

Reimplemented from TVirtualX.

◆ CreatePixmapFromData()

Pixmap_t TGWin32VirtualXProxy::CreatePixmapFromData ( unsigned char *  bits,
UInt_t  width,
UInt_t  height 
)
overridevirtual

create pixmap from RGB data.

RGB data is in format:

b1, g1, r1, 0, b2, g2, r2, 0 ... bn, gn, rn, 0 ..

Pixels are numbered from left to right and from top to bottom. Note that data must be 32-bit aligned

Reimplemented from TVirtualX.

◆ CreateRegion()

Region_t TGWin32VirtualXProxy::CreateRegion ( )
overridevirtual

Creates a new empty region.

Reimplemented from TVirtualX.

◆ CreateWindow()

Window_t TGWin32VirtualXProxy::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 
)
overridevirtual

Creates an unmapped subwindow for a specified parent window and returns the created window.

The created window is placed on top in the stacking order with respect to siblings. The coordinate system has the X axis horizontal and the Y axis vertical with the origin [0,0] at the upper-left corner. Each window and pixmap has its own coordinate system.

Parameters
[in]parentthe parent window
[in]x,ycoordinates, the top-left outside corner of the window's borders; relative to the inside of the parent window's borders
[in]w,hwidth and height of the created window; do not include the created window's borders
[in]borderthe border pixel value of the window
[in]depththe window's depth
[in]clssthe created window's class; can be InputOutput, InputOnly, or CopyFromParent
[in]visualthe visual type
[in]attrthe structure from which the values are to be taken.
[in]wtypethe window type

Reimplemented from TVirtualX.

◆ DeleteFont()

void TGWin32VirtualXProxy::DeleteFont ( FontStruct_t  fs)
overridevirtual

Explicitly deletes the font structure "fs" obtained via LoadQueryFont().

Reimplemented from TVirtualX.

◆ DeleteGC()

void TGWin32VirtualXProxy::DeleteGC ( GContext_t  gc)
overridevirtual

Deletes the specified GC "gc".

Reimplemented from TVirtualX.

◆ DeleteImage()

void TGWin32VirtualXProxy::DeleteImage ( Drawable_t  img)
overridevirtual

Deallocates the memory associated with the image img.

Reimplemented from TVirtualX.

◆ DeletePictureData()

void TGWin32VirtualXProxy::DeletePictureData ( void *  data)
overridevirtual

Delete picture data created by the function ReadPictureDataFromFile.

Reimplemented from TVirtualX.

◆ DeletePixmap()

void TGWin32VirtualXProxy::DeletePixmap ( Pixmap_t  pmap)
overridevirtual

Explicitly deletes the pixmap resource "pmap".

Reimplemented from TVirtualX.

◆ DeleteProperty()

void TGWin32VirtualXProxy::DeleteProperty ( Window_t  ,
Atom_t  
)
overridevirtual

Deletes the specified property only if the property was defined on the specified window and causes the X server to generate a PropertyNotify event on the window unless the property does not exist.

Reimplemented from TVirtualX.

◆ DestroyRegion()

void TGWin32VirtualXProxy::DestroyRegion ( Region_t  reg)
overridevirtual

Destroys the region "reg".

Reimplemented from TVirtualX.

◆ DestroySubwindows()

void TGWin32VirtualXProxy::DestroySubwindows ( Window_t  id)
overridevirtual

The DestroySubwindows function destroys all inferior windows of the specified window, in bottom-to-top stacking order.

Reimplemented from TVirtualX.

◆ DestroyWindow()

void TGWin32VirtualXProxy::DestroyWindow ( Window_t  id)
overridevirtual

Destroys the window "id" as well as all of its subwindows.

The window should never be referenced again. If the window specified by the "id" argument is mapped, it is unmapped automatically.

Reimplemented from TVirtualX.

◆ DisplayName()

const char * TGWin32VirtualXProxy::DisplayName ( const char *  = 0)
overridevirtual

Returns hostname on which the display is opened.

Reimplemented from TVirtualX.

◆ DrawBox()

void TGWin32VirtualXProxy::DrawBox ( Int_t  x1,
Int_t  y1,
Int_t  x2,
Int_t  y2,
EBoxMode  mode 
)
overridevirtual

Draws a box between [x1,y1] and [x2,y2] according to the "mode".

Parameters
[in]x1,y1left down corner
[in]x2,y2right up corner
[in]modedrawing mode:
  • mode = 0 hollow (kHollow)
  • mode = 1 solid (kSolid)

Reimplemented from TVirtualX.

◆ DrawCellArray()

void TGWin32VirtualXProxy::DrawCellArray ( Int_t  x1,
Int_t  y1,
Int_t  x2,
Int_t  y2,
Int_t  nx,
Int_t  ny,
Int_t ic 
)
overridevirtual

Draws a cell array.

The drawing is done with the pixel precision if (x2-x1)/nx (or y) is not a exact pixel number the position of the top right corner may be wrong.

Parameters
[in]x1,y1left down corner
[in]x2,y2right up corner
[in]nx,nyarray size
[in]icarray

Reimplemented from TVirtualX.

◆ DrawFillArea()

void TGWin32VirtualXProxy::DrawFillArea ( Int_t  n,
TPoint xy 
)
overridevirtual

Fills area described by the polygon.

Parameters
[in]nnumber of points
[in]xylist of points. xy(2,n)

Reimplemented from TVirtualX.

◆ DrawLine() [1/2]

void TGWin32VirtualXProxy::DrawLine ( Drawable_t  id,
GContext_t  gc,
Int_t  x1,
Int_t  y1,
Int_t  x2,
Int_t  y2 
)
overridevirtual

Uses the components of the specified GC to draw a line between the specified set of points (x1, y1) and (x2, y2).

GC components in use: function, plane-mask, line-width, line-style, cap-style, fill-style, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask.

GC mode-dependent components: foreground, background, tile, stipple, tile-stipple-x-origin, tile-stipple-y-origin, dash-offset, dash-list. (see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ DrawLine() [2/2]

void TGWin32VirtualXProxy::DrawLine ( Int_t  x1,
Int_t  y1,
Int_t  x2,
Int_t  y2 
)
overridevirtual

Draws a line.

Parameters
[in]x1,y1begin of line
[in]x2,y2end of line

Reimplemented from TVirtualX.

◆ DrawPolyLine()

void TGWin32VirtualXProxy::DrawPolyLine ( Int_t  n,
TPoint xy 
)
overridevirtual

Draws a line through all points in the list.

Parameters
[in]nnumber of points
[in]xylist of points

Reimplemented from TVirtualX.

◆ DrawPolyMarker()

void TGWin32VirtualXProxy::DrawPolyMarker ( Int_t  n,
TPoint xy 
)
overridevirtual

Draws "n" markers with the current attributes at position [x,y].

Parameters
[in]nnumber of markers to draw
[in]xyan array of x,y marker coordinates

Reimplemented from TVirtualX.

◆ DrawRectangle()

void TGWin32VirtualXProxy::DrawRectangle ( Drawable_t  id,
GContext_t  gc,
Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
)
overridevirtual

Draws rectangle outlines of [x,y] [x+w,y] [x+w,y+h] [x,y+h].

GC components in use: function, plane-mask, line-width, line-style, cap-style, join-style, fill-style, subwindow-mode, clip-x-origin, clip-y-origin, clip-mask. GC mode-dependent components: foreground, background, tile, stipple, tile-stipple-x-origin, tile-stipple-y-origin, dash-offset, dash-list. (see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ DrawSegments()

void TGWin32VirtualXProxy::DrawSegments ( Drawable_t  id,
GContext_t  gc,
Segment_t seg,
Int_t  nseg 
)
overridevirtual

Draws multiple line segments.

Each line is specified by a pair of points.

Parameters
[in]idDrawable identifier
[in]gcgraphics context
[in]*segspecifies an array of segments
[in]nsegspecifies the number of segments in the array

GC components in use: function, plane-mask, line-width, line-style, cap-style, join-style, fill-style, subwindow-mode, clip-x-origin, clip-y-origin, clip-mask.

GC mode-dependent components: foreground, background, tile, stipple, tile-stipple-x-origin, tile-stipple-y-origin, dash-offset, and dash-list. (see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ DrawString()

void TGWin32VirtualXProxy::DrawString ( Drawable_t  id,
GContext_t  gc,
Int_t  x,
Int_t  y,
const char *  s,
Int_t  len 
)
overridevirtual

Each character image, as defined by the font in the GC, is treated as an additional mask for a fill operation on the drawable.

Parameters
[in]idthe drawable
[in]gcthe GC
[in]x,ycoordinates, which are relative to the origin of the specified drawable and define the origin of the first character
[in]sthe character string
[in]lenthe number of characters in the string argument

GC components in use: function, plane-mask, fill-style, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. GC mode-dependent components: foreground, background, tile, stipple, tile-stipple-x-origin, and tile-stipple-y-origin. (see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ DrawText() [1/2]

void TGWin32VirtualXProxy::DrawText ( Int_t  x,
Int_t  y,
Float_t  angle,
Float_t  mgn,
const char *  text,
ETextMode  mode 
)
overridevirtual

Draws a text string using current font.

Parameters
[in]x,ytext position
[in]angletext angle
[in]mgnmagnification factor
[in]texttext string
[in]modedrawing mode:
  • mode = 0 the background is not drawn (kClear)
  • mode = 1 the background is drawn (kOpaque)

Reimplemented from TVirtualX.

◆ DrawText() [2/2]

void TGWin32VirtualXProxy::DrawText ( Int_t  x,
Int_t  y,
Float_t  angle,
Float_t  mgn,
const wchar_t *  text,
ETextMode  mode 
)
inlineoverridevirtual

Draws a text string using current font.

Parameters
[in]x,ytext position
[in]angletext angle
[in]mgnmagnification factor
[in]texttext string
[in]modedrawing mode:
  • mode = 0 the background is not drawn (kClear)
  • mode = 1 the background is drawn (kOpaque)

Reimplemented from TVirtualX.

Definition at line 54 of file TGWin32VirtualXProxy.h.

◆ EmptyRegion()

Bool_t TGWin32VirtualXProxy::EmptyRegion ( Region_t  reg)
overridevirtual

Returns kTRUE if the region reg is empty.

Reimplemented from TVirtualX.

◆ EqualRegion()

Bool_t TGWin32VirtualXProxy::EqualRegion ( Region_t  rega,
Region_t  regb 
)
overridevirtual

Returns kTRUE if the two regions have the same offset, size, and shape.

Reimplemented from TVirtualX.

◆ EventsPending()

Int_t TGWin32VirtualXProxy::EventsPending ( )
overridevirtual

Return number of pending events.

Reimplemented from TVirtualX.

Definition at line 296 of file TGWin32VirtualXProxy.cxx.

◆ FillPolygon()

void TGWin32VirtualXProxy::FillPolygon ( Window_t  id,
GContext_t  gc,
Point_t points,
Int_t  npnt 
)
overridevirtual

Fills the region closed by the specified path.

The path is closed automatically if the last point in the list does not coincide with the first point.

Parameters
[in]idwindow identifier
[in]gcgraphics context
[in]*pointsspecifies an array of points
[in]npntspecifies the number of points in the array

GC components in use: function, plane-mask, fill-style, fill-rule, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. GC mode-dependent components: foreground, background, tile, stipple, tile-stipple-x-origin, and tile-stipple-y-origin. (see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ FillRectangle()

void TGWin32VirtualXProxy::FillRectangle ( Drawable_t  id,
GContext_t  gc,
Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
)
overridevirtual

Fills the specified rectangle defined by [x,y] [x+w,y] [x+w,y+h] [x,y+h].

using the GC you specify.

GC components in use are: function, plane-mask, fill-style, subwindow-mode, clip-x-origin, clip-y-origin, clip-mask. GC mode-dependent components: foreground, background, tile, stipple, tile-stipple-x-origin, and tile-stipple-y-origin. (see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ FindRWindow()

Window_t TGWin32VirtualXProxy::FindRWindow ( Window_t  win,
Window_t  dragwin,
Window_t  input,
int  x,
int  y,
int  maxd 
)
overridevirtual

Recursively search in the children of Window for a Window which is at location x, y and is DND aware, with a maximum depth of maxd.

Reimplemented from TVirtualX.

◆ FreeColor()

void TGWin32VirtualXProxy::FreeColor ( Colormap_t  cmap,
ULong_t  pixel 
)
overridevirtual

Frees color cell with specified pixel value.

Reimplemented from TVirtualX.

◆ FreeFontNames()

void TGWin32VirtualXProxy::FreeFontNames ( char **  fontlist)
overridevirtual

Frees the specified the array of strings "fontlist".

Reimplemented from TVirtualX.

◆ FreeFontStruct()

void TGWin32VirtualXProxy::FreeFontStruct ( FontStruct_t  fs)
overridevirtual

Frees the font structure "fs".

The font itself will be freed when no other resource references it.

Reimplemented from TVirtualX.

◆ GetCharacterUp()

void TGWin32VirtualXProxy::GetCharacterUp ( Float_t chupx,
Float_t chupy 
)
overridevirtual

Returns character up vector.

Reimplemented from TVirtualX.

◆ GetColorBits()

unsigned char * TGWin32VirtualXProxy::GetColorBits ( Drawable_t  wid,
Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
)
overridevirtual

Returns an array of pixels created from a part of drawable (defined by x, y, w, h) in format:

b1, g1, r1, 0, b2, g2, r2, 0 ... bn, gn, rn, 0 ..

Pixels are numbered from left to right and from top to bottom. By default all pixels from the whole drawable are returned.

Note that return array is 32-bit aligned

Reimplemented from TVirtualX.

◆ GetColormap()

Colormap_t TGWin32VirtualXProxy::GetColormap ( ) const
overridevirtual

Returns handle to colormap.

Might be useful in some cases where direct X11 manipulation outside of TVirtualX is needed, e.g. GL interface.

Reimplemented from TVirtualX.

◆ GetCurrentWindow()

Window_t TGWin32VirtualXProxy::GetCurrentWindow ( ) const
overridevirtual

Return a pointer to the current window.

Reimplemented from TVirtualX.

Definition at line 336 of file TGWin32VirtualXProxy.cxx.

◆ GetDefaultRootWindow()

Window_t TGWin32VirtualXProxy::GetDefaultRootWindow ( ) const
overridevirtual

Returns handle to the default root window created when calling XOpenDisplay().

Reimplemented from TVirtualX.

◆ GetDepth()

Int_t TGWin32VirtualXProxy::GetDepth ( ) const
overridevirtual

Returns depth of screen (number of bit planes).

Equivalent to GetPlanes().

Reimplemented from TVirtualX.

◆ GetDisplay()

Display_t TGWin32VirtualXProxy::GetDisplay ( ) const
overridevirtual

Returns handle to display (might be useful in some cases where direct X11 manipulation outside of TVirtualX is needed, e.g.

GL interface).

Reimplemented from TVirtualX.

◆ GetDoubleBuffer()

Int_t TGWin32VirtualXProxy::GetDoubleBuffer ( Int_t  wid)
overridevirtual

Queries the double buffer value for the window "wid".

Reimplemented from TVirtualX.

◆ GetDrawMode()

EDrawMode TGWin32VirtualXProxy::GetDrawMode ( )

◆ GetFillColor()

Color_t TGWin32VirtualXProxy::GetFillColor ( ) const
overridevirtual

Return the fill area color.

Reimplemented from TAttFill.

◆ GetFillStyle()

Style_t TGWin32VirtualXProxy::GetFillStyle ( ) const
overridevirtual

Return the fill area style.

Reimplemented from TAttFill.

◆ GetFontHandle()

FontH_t TGWin32VirtualXProxy::GetFontHandle ( FontStruct_t  fs)
overridevirtual

Returns the font handle of the specified font structure "fs".

Reimplemented from TVirtualX.

◆ GetFontProperties()

void TGWin32VirtualXProxy::GetFontProperties ( FontStruct_t  font,
Int_t max_ascent,
Int_t max_descent 
)
overridevirtual

Returns the font properties.

Reimplemented from TVirtualX.

◆ GetFontStruct()

FontStruct_t TGWin32VirtualXProxy::GetFontStruct ( FontH_t  fh)
overridevirtual

Retrieves the associated font structure of the font specified font handle "fh".

Free returned FontStruct_t using FreeFontStruct().

Reimplemented from TVirtualX.

◆ GetGCValues()

void TGWin32VirtualXProxy::GetGCValues ( GContext_t  gc,
GCValues_t gval 
)
overridevirtual

Returns the components specified by the mask in "gval" for the specified GC "gc" (see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ GetGeometry()

void TGWin32VirtualXProxy::GetGeometry ( Int_t  wid,
Int_t x,
Int_t y,
UInt_t w,
UInt_t h 
)
overridevirtual

Returns position and size of window "wid".

Parameters
[in]widwindow identifier if wid < 0 the size of the display is returned
[in]x,yreturned window position
[in]w,hreturned window size

Reimplemented from TVirtualX.

◆ GetImageSize()

void TGWin32VirtualXProxy::GetImageSize ( Drawable_t  id,
UInt_t width,
UInt_t height 
)
overridevirtual

Returns the width and height of the image id.

Reimplemented from TVirtualX.

◆ GetInputFocus()

Window_t TGWin32VirtualXProxy::GetInputFocus ( )
overridevirtual

Returns the window id of the window having the input focus.

Reimplemented from TVirtualX.

◆ GetLineColor()

Color_t TGWin32VirtualXProxy::GetLineColor ( ) const
overridevirtual

Return the line color.

Reimplemented from TAttLine.

◆ GetLineStyle()

Style_t TGWin32VirtualXProxy::GetLineStyle ( ) const
overridevirtual

Return the line style.

Reimplemented from TAttLine.

◆ GetLineWidth()

Width_t TGWin32VirtualXProxy::GetLineWidth ( ) const
overridevirtual

Return the line width.

Reimplemented from TAttLine.

◆ GetMarkerColor()

Color_t TGWin32VirtualXProxy::GetMarkerColor ( ) const
overridevirtual

Return the marker color.

Reimplemented from TAttMarker.

◆ GetMarkerSize()

Size_t TGWin32VirtualXProxy::GetMarkerSize ( ) const
overridevirtual

Return the marker size.

Reimplemented from TAttMarker.

◆ GetMarkerStyle()

Style_t TGWin32VirtualXProxy::GetMarkerStyle ( ) const
overridevirtual

Return the marker style.

Reimplemented from TAttMarker.

◆ GetNativeEvent()

Handle_t TGWin32VirtualXProxy::GetNativeEvent ( ) const
overridevirtual

Returns the current native event handle.

Reimplemented from TVirtualX.

◆ GetParent()

Window_t TGWin32VirtualXProxy::GetParent ( Window_t  id) const
overridevirtual

might be thread unsafe (?)

Reimplemented from TVirtualX.

Definition at line 274 of file TGWin32VirtualXProxy.cxx.

◆ GetPasteBuffer()

void TGWin32VirtualXProxy::GetPasteBuffer ( Window_t  id,
Atom_t  atom,
TString text,
Int_t nchar,
Bool_t  del 
)
overridevirtual

Gets contents of the paste buffer "atom" into the string "text".

(nchar = number of characters) If "del" is true deletes the paste buffer afterwards.

Reimplemented from TVirtualX.

◆ GetPixel()

ULong_t TGWin32VirtualXProxy::GetPixel ( Color_t  cindex)
overridevirtual

Returns pixel value associated to specified ROOT color number "cindex".

Reimplemented from TVirtualX.

◆ GetPlanes()

void TGWin32VirtualXProxy::GetPlanes ( Int_t nplanes)
overridevirtual

Returns the maximum number of planes.

Reimplemented from TVirtualX.

◆ GetPrimarySelectionOwner()

Window_t TGWin32VirtualXProxy::GetPrimarySelectionOwner ( )
overridevirtual

Returns the window id of the current owner of the primary selection.

That is the window in which, for example some text is selected.

Reimplemented from TVirtualX.

◆ GetProperty()

Int_t TGWin32VirtualXProxy::GetProperty ( Window_t  ,
Atom_t  ,
Long_t  ,
Long_t  ,
Bool_t  ,
Atom_t  ,
Atom_t ,
Int_t ,
ULong_t ,
ULong_t ,
unsigned char **   
)
overridevirtual

Returns the actual type of the property; the actual format of the property; the number of 8-bit, 16-bit, or 32-bit items transferred; the number of bytes remaining to be read in the property; and a pointer to the data actually returned.

Reimplemented from TVirtualX.

◆ GetRegionBox()

void TGWin32VirtualXProxy::GetRegionBox ( Region_t  reg,
Rectangle_t rect 
)
overridevirtual

Returns smallest enclosing rectangle.

Reimplemented from TVirtualX.

◆ GetRGB()

void TGWin32VirtualXProxy::GetRGB ( Int_t  index,
Float_t r,
Float_t g,
Float_t b 
)
overridevirtual

Returns RGB values for color "index".

Reimplemented from TVirtualX.

◆ GetScreen()

Int_t TGWin32VirtualXProxy::GetScreen ( ) const
overridevirtual

Returns screen number.

Might be useful in some cases where direct X11 manipulation outside of TVirtualX is needed, e.g. GL interface.

Reimplemented from TVirtualX.

◆ GetTextAlign()

Short_t TGWin32VirtualXProxy::GetTextAlign ( ) const
overridevirtual

Return the text alignment.

Reimplemented from TAttText.

◆ GetTextAngle()

Float_t TGWin32VirtualXProxy::GetTextAngle ( ) const
overridevirtual

Return the text angle.

Reimplemented from TAttText.

◆ GetTextColor()

Color_t TGWin32VirtualXProxy::GetTextColor ( ) const
overridevirtual

Return the text color.

Reimplemented from TAttText.

◆ GetTextExtent() [1/2]

void TGWin32VirtualXProxy::GetTextExtent ( UInt_t w,
UInt_t h,
wchar_t *  mess 
)
inlineoverridevirtual

Returns the size of the specified character string "mess".

Parameters
[in]wthe text width
[in]hthe text height
[in]messthe string

Reimplemented from TVirtualX.

Definition at line 65 of file TGWin32VirtualXProxy.h.

◆ GetTextExtent() [2/2]

void TGWin32VirtualXProxy::GetTextExtent ( UInt_t w,
UInt_t h,
char *  mess 
)
overridevirtual

Returns the size of the specified character string "mess".

Parameters
[in]wthe text width
[in]hthe text height
[in]messthe string

Reimplemented from TVirtualX.

◆ GetTextFont()

Font_t TGWin32VirtualXProxy::GetTextFont ( ) const
overridevirtual

Return the text font.

Reimplemented from TAttText.

◆ GetTextMagnitude()

Float_t TGWin32VirtualXProxy::GetTextMagnitude ( )
overridevirtual

Returns the current font magnification factor.

Reimplemented from TVirtualX.

◆ GetTextSize()

Float_t TGWin32VirtualXProxy::GetTextSize ( ) const
overridevirtual

Return the text size.

Reimplemented from TAttText.

◆ GetVisual()

Visual_t TGWin32VirtualXProxy::GetVisual ( ) const
overridevirtual

Returns handle to visual.

Might be useful in some cases where direct X11 manipulation outside of TVirtualX is needed, e.g. GL interface.

Reimplemented from TVirtualX.

◆ GetWindowAttributes()

void TGWin32VirtualXProxy::GetWindowAttributes ( Window_t  id,
WindowAttributes_t attr 
)
overridevirtual

The WindowAttributes_t structure is set to default.

Reimplemented from TVirtualX.

◆ GetWindowID()

Window_t TGWin32VirtualXProxy::GetWindowID ( Int_t  wid)
overridevirtual

Returns the X11 window identifier.

Parameters
[in]widworkstation identifier (input)

Reimplemented from TVirtualX.

◆ GetWindowSize()

void TGWin32VirtualXProxy::GetWindowSize ( Drawable_t  id,
Int_t x,
Int_t y,
UInt_t w,
UInt_t h 
)
overridevirtual

Returns the location and the size of window "id".

Parameters
[in]iddrawable identifier
[in]x,ycoordinates of the upper-left outer corner relative to the parent window's origin
[in]w,hthe inside size of the window, not including the border

Reimplemented from TVirtualX.

◆ GrabButton()

void TGWin32VirtualXProxy::GrabButton ( Window_t  id,
EMouseButton  button,
UInt_t  modifier,
UInt_t  evmask,
Window_t  confine,
Cursor_t  cursor,
Bool_t  grab = kTRUE 
)
overridevirtual

Establishes a passive grab on a certain mouse button.

That is, when a certain mouse button is hit while certain modifier's (Shift, Control, Meta, Alt) are active then the mouse will be grabbed for window id. When grab is false, ungrab the mouse button for this button and modifier.

Reimplemented from TVirtualX.

◆ GrabKey()

void TGWin32VirtualXProxy::GrabKey ( Window_t  id,
Int_t  keycode,
UInt_t  modifier,
Bool_t  grab = kTRUE 
)
overridevirtual

Establishes a passive grab on the keyboard.

In the future, the keyboard is actively grabbed, the last-keyboard-grab time is set to the time at which the key was pressed (as transmitted in the KeyPress event), and the KeyPress event is reported if all of the following conditions are true:

  • the keyboard is not grabbed and the specified key (which can itself be a modifier key) is logically pressed when the specified modifier keys are logically down, and no other modifier keys are logically down;
  • either the grab window "id" is an ancestor of (or is) the focus window, or "id" is a descendant of the focus window and contains the pointer;
  • a passive grab on the same key combination does not exist on any ancestor of grab_window
Parameters
[in]idwindow id
[in]keycodespecifies the KeyCode or AnyKey
[in]modifierspecifies the set of keymasks or AnyModifier; the mask is the bitwise inclusive OR of the valid keymask bits
[in]graba switch between grab/ungrab key grab = kTRUE grab the key and modifier grab = kFALSE ungrab the key and modifier

Reimplemented from TVirtualX.

◆ GrabPointer()

void TGWin32VirtualXProxy::GrabPointer ( Window_t  id,
UInt_t  evmask,
Window_t  confine,
Cursor_t  cursor,
Bool_t  grab = kTRUE,
Bool_t  owner_events = kTRUE 
)
overridevirtual

Establishes an active pointer grab.

While an active pointer grab is in effect, further pointer events are only reported to the grabbing client window.

Reimplemented from TVirtualX.

◆ HasTTFonts()

Bool_t TGWin32VirtualXProxy::HasTTFonts ( ) const
overridevirtual

Returns True when TrueType fonts are used.

Reimplemented from TVirtualX.

◆ IconifyWindow()

void TGWin32VirtualXProxy::IconifyWindow ( Window_t  id)
overridevirtual

Iconifies the window "id".

Reimplemented from TVirtualX.

◆ Init()

Bool_t TGWin32VirtualXProxy::Init ( void *  display = 0)
overridevirtual

Initializes the X system.

Returns kFALSE in case of failure. It is implementation dependent.

Reimplemented from TVirtualX.

◆ InitWindow()

Int_t TGWin32VirtualXProxy::InitWindow ( ULongptr_t  window)
overridevirtual

Creates a new window and return window number.

Returns -1 if window initialization fails.

Reimplemented from TVirtualX.

◆ InternAtom()

Atom_t TGWin32VirtualXProxy::InternAtom ( const char *  atom_name,
Bool_t  only_if_exist 
)
overridevirtual

Returns the atom identifier associated with the specified "atom_name" string.

If "only_if_exists" is False, the atom is created if it does not exist. If the atom name is not in the Host Portable Character Encoding, the result is implementation dependent. Uppercase and lowercase matter; the strings "thing", "Thing", and "thinG" all designate different atoms.

Reimplemented from TVirtualX.

◆ IntersectRegion()

void TGWin32VirtualXProxy::IntersectRegion ( Region_t  rega,
Region_t  regb,
Region_t  result 
)
overridevirtual

Computes the intersection of two regions.

Parameters
[in]rega,regbspecify the two regions with which you want to perform the computation
[in]resultreturns the result of the computation

Reimplemented from TVirtualX.

◆ IsCmdThread()

Bool_t TGWin32VirtualXProxy::IsCmdThread ( ) const
overridevirtual

Return kTRUE if we are inside cmd/server thread.

Reimplemented from TVirtualX.

Definition at line 328 of file TGWin32VirtualXProxy.cxx.

◆ IsDNDAware()

Bool_t TGWin32VirtualXProxy::IsDNDAware ( Window_t  win,
Atom_t typelist 
)
overridevirtual

Checks if the Window is DND aware, and knows any of the DND formats passed in argument.

Reimplemented from TVirtualX.

◆ IsTransparent()

Bool_t TGWin32VirtualXProxy::IsTransparent ( ) const
overridevirtual

Reimplemented from TAttFill.

◆ KeysymToKeycode()

Int_t TGWin32VirtualXProxy::KeysymToKeycode ( UInt_t  keysym)
overridevirtual

Converts the "keysym" to the appropriate keycode.

For example, keysym is a letter and keycode is the matching keyboard key (which is dependent on the current keyboard mapping). If the specified "keysym" is not defined for any keycode, returns zero.

Reimplemented from TVirtualX.

◆ ListFonts()

char ** TGWin32VirtualXProxy::ListFonts ( const char *  fontname,
Int_t  max,
Int_t count 
)
overridevirtual

Returns list of font names matching fontname regexp, like "-*-times-*".

The pattern string can contain any characters, but each asterisk (*) is a wildcard for any number of characters, and each question mark (?) is a wildcard for a single character. If the pattern string is not in the Host Portable Character Encoding, the result is implementation dependent. Use of uppercase or lowercase does not matter. Each returned string is null-terminated.

Parameters
[in]fontnamespecifies the null-terminated pattern string that can contain wildcard characters
[in]maxspecifies the maximum number of names to be returned
[in]countreturns the actual number of font names

Reimplemented from TVirtualX.

◆ LoadQueryFont()

FontStruct_t TGWin32VirtualXProxy::LoadQueryFont ( const char *  font_name)
overridevirtual

Provides the most common way for accessing a font: opens (loads) the specified font and returns a pointer to the appropriate FontStruct_t structure.

If the font does not exist, it returns NULL.

Reimplemented from TVirtualX.

◆ LookupString()

void TGWin32VirtualXProxy::LookupString ( Event_t event,
char *  buf,
Int_t  buflen,
UInt_t keysym 
)
overridevirtual

Convert the keycode from the event structure to a key symbol (according to the modifiers specified in the event structure and the current keyboard mapping).

In buf a null terminated ASCII string is returned representing the string that is currently mapped to the key code.

Reimplemented from TVirtualX.

Definition at line 285 of file TGWin32VirtualXProxy.cxx.

◆ LowerWindow()

void TGWin32VirtualXProxy::LowerWindow ( Window_t  id)
overridevirtual

Lowers the specified window "id" to the bottom of the stack so that it does not obscure any sibling windows.

Reimplemented from TVirtualX.

◆ MapRaised()

void TGWin32VirtualXProxy::MapRaised ( Window_t  id)
overridevirtual

Maps the window "id" and all of its subwindows that have had map requests on the screen and put this window on the top of of the stack of all windows.

Reimplemented from TVirtualX.

◆ MapSubwindows()

void TGWin32VirtualXProxy::MapSubwindows ( Window_t  id)
overridevirtual

Maps all subwindows for the specified window "id" in top-to-bottom stacking order.

Reimplemented from TVirtualX.

◆ MapWindow()

void TGWin32VirtualXProxy::MapWindow ( Window_t  id)
overridevirtual

Maps the window "id" and all of its subwindows that have had map requests.

This function has no effect if the window is already mapped.

Reimplemented from TVirtualX.

◆ MoveResizeWindow()

void TGWin32VirtualXProxy::MoveResizeWindow ( Window_t  id,
Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
)
overridevirtual

Changes the size and location of the specified window "id" without raising it.

Parameters
[in]idwindow identifier
[in]x,ycoordinates, which define the new position of the window relative to its parent.
[in]w,hthe width and height, which define the interior size of the window

Reimplemented from TVirtualX.

◆ MoveWindow() [1/2]

void TGWin32VirtualXProxy::MoveWindow ( Int_t  wid,
Int_t  x,
Int_t  y 
)
overridevirtual

Moves the window "wid" to the specified x and y coordinates.

It does not change the window's size, raise the window, or change the mapping state of the window.

Parameters
[in]widwindow identifier
[in]x,ycoordinates, which define the new position of the window relative to its parent.

Reimplemented from TVirtualX.

◆ MoveWindow() [2/2]

void TGWin32VirtualXProxy::MoveWindow ( Window_t  id,
Int_t  x,
Int_t  y 
)
overridevirtual

Moves the specified window to the specified x and y coordinates.

It does not change the window's size, raise the window, or change the mapping state of the window.

Parameters
[in]idwindow identifier
[in]x,ycoordinates, which define the new position of the window relative to its parent.

Reimplemented from TVirtualX.

◆ NextEvent()

void TGWin32VirtualXProxy::NextEvent ( Event_t event)
overridevirtual

Process next event in the queue - if any.

Reimplemented from TVirtualX.

Definition at line 304 of file TGWin32VirtualXProxy.cxx.

◆ OpenDisplay()

Int_t TGWin32VirtualXProxy::OpenDisplay ( const char *  dpyName = 0)
overridevirtual

Opens connection to display server (if such a thing exist on the current platform).

The encoding and interpretation of the display name.

On X11 this method returns on success the X display socket descriptor >0, 0 in case of batch mode, and <0 in case of failure (cannot connect to display dpyName).

Reimplemented from TVirtualX.

◆ OpenPixmap()

Int_t TGWin32VirtualXProxy::OpenPixmap ( UInt_t  w,
UInt_t  h 
)
overridevirtual

Creates a pixmap of the width "w" and height "h" you specified.

Reimplemented from TVirtualX.

◆ ParseColor()

Bool_t TGWin32VirtualXProxy::ParseColor ( Colormap_t  cmap,
const char *  cname,
ColorStruct_t color 
)
overridevirtual

Looks up the string name of a color "cname" with respect to the screen associated with the specified colormap.

It returns the exact color value. If the color name is not in the Host Portable Character Encoding, the result is implementation dependent.

Parameters
[in]cmapthe colormap
[in]cnamethe color name string; use of uppercase or lowercase does not matter
[in]colorreturns the exact color value for later use

The ColorStruct_t structure is set to default. Let system think we could parse color.

Reimplemented from TVirtualX.

◆ PointInRegion()

Bool_t TGWin32VirtualXProxy::PointInRegion ( Int_t  x,
Int_t  y,
Region_t  reg 
)
overridevirtual

Returns kTRUE if the point [x, y] is contained in the region reg.

Reimplemented from TVirtualX.

◆ PolygonRegion()

Region_t TGWin32VirtualXProxy::PolygonRegion ( Point_t points,
Int_t  np,
Bool_t  winding 
)
overridevirtual

Returns a region for the polygon defined by the points array.

Parameters
[in]pointsspecifies an array of points
[in]npspecifies the number of points in the polygon
[in]windingspecifies the winding-rule is set (kTRUE) or not(kFALSE)

Reimplemented from TVirtualX.

◆ ProxyObject()

static TVirtualX * TGWin32VirtualXProxy::ProxyObject ( )
static

◆ PutImage()

void TGWin32VirtualXProxy::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 
)
overridevirtual

Combines an image with a rectangle of the specified drawable.

The section of the image defined by the x, y, width, and height arguments is drawn on the specified part of the drawable.

Parameters
[in]idthe drawable
[in]gcthe GC
[in]imgthe image you want combined with the rectangle
[in]dxthe offset in X from the left edge of the image
[in]dythe offset in Y from the top edge of the image
[in]x,ycoordinates, which are relative to the origin of the drawable and are the coordinates of the subimage
[in]w,hthe width and height of the subimage, which define the rectangle dimensions

GC components in use: function, plane-mask, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask. GC mode-dependent components: foreground and background. (see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ PutPixel()

void TGWin32VirtualXProxy::PutPixel ( Drawable_t  id,
Int_t  x,
Int_t  y,
ULong_t  pixel 
)
overridevirtual

Overwrites the pixel in the image with the specified pixel value.

The image must contain the x and y coordinates.

Parameters
[in]idspecifies the image
[in]x,ycoordinates
[in]pixelthe new pixel value

Reimplemented from TVirtualX.

◆ QueryColor()

void TGWin32VirtualXProxy::QueryColor ( Colormap_t  cmap,
ColorStruct_t color 
)
overridevirtual

Returns the current RGB value for the pixel in the "color" structure.

The color components are set to default.

Parameters
[in]cmapthe colormap
[in]colorspecifies and returns the RGB values for the pixel specified in the structure

Reimplemented from TVirtualX.

◆ QueryPointer() [1/2]

void TGWin32VirtualXProxy::QueryPointer ( Int_t ix,
Int_t iy 
)
overridevirtual

Returns the pointer position.

Reimplemented from TVirtualX.

◆ QueryPointer() [2/2]

void TGWin32VirtualXProxy::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 
)
overridevirtual

Returns the root window the pointer is logically on and the pointer coordinates relative to the root window's origin.

Parameters
[in]idspecifies the window
[in]rootwthe root window that the pointer is in
[in]childwthe child window that the pointer is located in, if any
[in]root_x,root_ythe pointer coordinates relative to the root window's origin
[in]win_x,win_ythe pointer coordinates relative to the specified window "id"
[in]maskthe current state of the modifier keys and pointer buttons

Reimplemented from TVirtualX.

◆ RaiseWindow()

void TGWin32VirtualXProxy::RaiseWindow ( Window_t  id)
overridevirtual

Raises the specified window to the top of the stack so that no sibling window obscures it.

Reimplemented from TVirtualX.

◆ ReadGIF()

void TGWin32VirtualXProxy::ReadGIF ( Int_t  x0,
Int_t  y0,
const char *  file 
)

◆ ReadPictureDataFromFile()

Bool_t TGWin32VirtualXProxy::ReadPictureDataFromFile ( const char *  filename,
char ***  ret_data 
)
overridevirtual

Reads picture data from file "filename" and store it in "ret_data".

Returns kTRUE in case of success, kFALSE otherwise.

Reimplemented from TVirtualX.

◆ RealObject()

TVirtualX * TGWin32VirtualXProxy::RealObject ( )
static

Definition at line 32 of file TGWin32VirtualXProxy.cxx.

◆ RemoveWindow()

void TGWin32VirtualXProxy::RemoveWindow ( ULongptr_t  qwid)
overridevirtual

Removes the created by Qt window "qwid".

Reimplemented from TVirtualX.

◆ ReparentWindow()

void TGWin32VirtualXProxy::ReparentWindow ( Window_t  id,
Window_t  pid,
Int_t  x,
Int_t  y 
)
overridevirtual

If the specified window is mapped, ReparentWindow automatically performs an UnmapWindow request on it, removes it from its current position in the hierarchy, and inserts it as the child of the specified parent.

The window is placed in the stacking order on top with respect to sibling windows.

Reimplemented from TVirtualX.

◆ RequestLocator()

Int_t TGWin32VirtualXProxy::RequestLocator ( Int_t  mode,
Int_t  ctyp,
Int_t x,
Int_t y 
)
overridevirtual

Requests Locator position.

Parameters
[in]x,ycursor position at moment of button press (output)
[in]ctypcursor type (input)
  • ctyp = 1 tracking cross
  • ctyp = 2 cross-hair
  • ctyp = 3 rubber circle
  • ctyp = 4 rubber band
  • ctyp = 5 rubber rectangle
[in]modeinput mode
  • mode = 0 request
  • mode = 1 sample
Returns
  • in request mode:
    • 1 = left is pressed
    • 2 = middle is pressed
    • 3 = right is pressed
  • in sample mode:
    • 11 = left is released
    • 12 = middle is released
    • 13 = right is released
    • -1 = nothing is pressed or released
    • -2 = leave the window
    • else = keycode (keyboard is pressed)

Reimplemented from TVirtualX.

◆ RequestString()

Int_t TGWin32VirtualXProxy::RequestString ( Int_t  x,
Int_t  y,
char *  text 
)
overridevirtual

Requests string: text is displayed and can be edited with Emacs-like keybinding.

Returns termination code (0 for ESC, 1 for RETURN)

Parameters
[in]x,yposition where text is displayed
[in]textdisplayed text (as input), edited text (as output)

Reimplemented from TVirtualX.

◆ RescaleWindow()

void TGWin32VirtualXProxy::RescaleWindow ( Int_t  wid,
UInt_t  w,
UInt_t  h 
)
overridevirtual

Rescales the window "wid".

Parameters
[in]widwindow identifier
[in]wthe width
[in]hthe height

Reimplemented from TVirtualX.

◆ ResetAttFill()

void TGWin32VirtualXProxy::ResetAttFill ( Option_t option = "")
overridevirtual

Reset this fill attributes to default values.

Reimplemented from TAttFill.

◆ ResetAttLine()

void TGWin32VirtualXProxy::ResetAttLine ( Option_t option = "")
overridevirtual

Reset this line attributes to default values.

Reimplemented from TAttLine.

◆ ResetAttMarker()

void TGWin32VirtualXProxy::ResetAttMarker ( Option_t toption = "")
overridevirtual

Reset this marker attributes to the default values.

Reimplemented from TAttMarker.

◆ ResetAttText()

void TGWin32VirtualXProxy::ResetAttText ( Option_t toption = "")
overridevirtual

Reset this text attributes to default values.

Reimplemented from TAttText.

◆ ResizePixmap()

Int_t TGWin32VirtualXProxy::ResizePixmap ( Int_t  wid,
UInt_t  w,
UInt_t  h 
)
overridevirtual

Resizes the specified pixmap "wid".

Parameters
[in]widwindow identifier
[in]w,hthe width and height which define the pixmap dimensions

Reimplemented from TVirtualX.

◆ ResizeWindow() [1/2]

void TGWin32VirtualXProxy::ResizeWindow ( Int_t  wid)
overridevirtual

Resizes the window "wid" if necessary.

Reimplemented from TVirtualX.

◆ ResizeWindow() [2/2]

void TGWin32VirtualXProxy::ResizeWindow ( Window_t  id,
UInt_t  w,
UInt_t  h 
)
overridevirtual

Changes the width and height of the specified window "id", not including its borders.

This function does not change the window's upper-left coordinate.

Parameters
[in]idwindow identifier
[in]w,hthe width and height, which are the interior dimensions of the window after the call completes.

Reimplemented from TVirtualX.

◆ SelectInput()

void TGWin32VirtualXProxy::SelectInput ( Window_t  id,
UInt_t  evmask 
)
overridevirtual

Defines which input events the window is interested in.

By default events are propagated up the window stack. This mask can also be set at window creation time via the SetWindowAttributes_t::fEventMask attribute.

Reimplemented from TVirtualX.

◆ SelectWindow()

void TGWin32VirtualXProxy::SelectWindow ( Int_t  wid)
overridevirtual

Selects the window "wid" to which subsequent output is directed.

Reimplemented from TVirtualX.

◆ SendEvent()

void TGWin32VirtualXProxy::SendEvent ( Window_t  id,
Event_t ev 
)
overridevirtual

Send event ev to window id.

Reimplemented from TVirtualX.

Definition at line 320 of file TGWin32VirtualXProxy.cxx.

◆ SetCharacterUp()

void TGWin32VirtualXProxy::SetCharacterUp ( Float_t  chupx,
Float_t  chupy 
)
overridevirtual

Sets character up vector.

Reimplemented from TVirtualX.

◆ SetClassHints()

void TGWin32VirtualXProxy::SetClassHints ( Window_t  id,
char *  className,
char *  resourceName 
)
overridevirtual

Sets the windows class and resource name.

Reimplemented from TVirtualX.

◆ SetClipOFF()

void TGWin32VirtualXProxy::SetClipOFF ( Int_t  wid)
overridevirtual

Turns off the clipping for the window "wid".

Reimplemented from TVirtualX.

◆ SetClipRectangles()

void TGWin32VirtualXProxy::SetClipRectangles ( GContext_t  gc,
Int_t  x,
Int_t  y,
Rectangle_t recs,
Int_t  n 
)
overridevirtual

Sets clipping rectangles in graphics context.

[x,y] specify the origin of the rectangles. "recs" specifies an array of rectangles that define the clipping mask and "n" is the number of rectangles. (see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ SetClipRegion()

void TGWin32VirtualXProxy::SetClipRegion ( Int_t  wid,
Int_t  x,
Int_t  y,
UInt_t  w,
UInt_t  h 
)
overridevirtual

Sets clipping region for the window "wid".

Parameters
[in]widwindow identifier
[in]x,yorigin of clipping rectangle
[in]w,hthe clipping rectangle dimensions

Reimplemented from TVirtualX.

◆ SetCursor() [1/2]

void TGWin32VirtualXProxy::SetCursor ( Int_t  win,
ECursor  cursor 
)
overridevirtual

The cursor "cursor" will be used when the pointer is in the window "wid".

Reimplemented from TVirtualX.

◆ SetCursor() [2/2]

void TGWin32VirtualXProxy::SetCursor ( Window_t  id,
Cursor_t  curid 
)
overridevirtual

Sets the cursor "curid" to be used when the pointer is in the window "id".

Reimplemented from TVirtualX.

◆ SetDashes()

void TGWin32VirtualXProxy::SetDashes ( GContext_t  gc,
Int_t  offset,
const char *  dash_list,
Int_t  n 
)
overridevirtual

Sets the dash-offset and dash-list attributes for dashed line styles in the specified GC.

There must be at least one element in the specified dash_list. The initial and alternating elements (second, fourth, and so on) of the dash_list are the even dashes, and the others are the odd dashes. Each element in the "dash_list" array specifies the length (in pixels) of a segment of the pattern.

Parameters
[in]gcspecifies the GC (see GCValues_t structure)
[in]offsetthe phase of the pattern for the dashed line-style you want to set for the specified GC.
[in]dash_listthe dash-list for the dashed line-style you want to set for the specified GC
[in]nthe number of elements in dash_list (see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ SetDNDAware()

void TGWin32VirtualXProxy::SetDNDAware ( Window_t  ,
Atom_t  
)
overridevirtual

Add XdndAware property and the list of drag and drop types to the Window win.

Reimplemented from TVirtualX.

◆ SetDoubleBuffer()

void TGWin32VirtualXProxy::SetDoubleBuffer ( Int_t  wid,
Int_t  mode 
)
overridevirtual

Sets the double buffer on/off on the window "wid".

Parameters
[in]widwindow identifier.
  • 999 means all opened windows.
[in]modethe on/off switch
  • mode = 1 double buffer is on
  • mode = 0 double buffer is off

Reimplemented from TVirtualX.

◆ SetDoubleBufferOFF()

void TGWin32VirtualXProxy::SetDoubleBufferOFF ( )
overridevirtual

Turns double buffer mode off.

Reimplemented from TVirtualX.

◆ SetDoubleBufferON()

void TGWin32VirtualXProxy::SetDoubleBufferON ( )
overridevirtual

Turns double buffer mode on.

Reimplemented from TVirtualX.

◆ SetDrawMode()

void TGWin32VirtualXProxy::SetDrawMode ( EDrawMode  mode)
overridevirtual

Sets the drawing mode.

Parameters
[in]modedrawing mode.
  • mode = 1 copy
  • mode = 2 xor
  • mode = 3 invert
  • mode = 4 set the suitable mode for cursor echo according to the vendor

Reimplemented from TVirtualX.

◆ SetFillAttributes()

void TGWin32VirtualXProxy::SetFillAttributes ( )
overridevirtual

Invoke the DialogCanvas Fill attributes.

Reimplemented from TAttFill.

◆ SetFillColor()

void TGWin32VirtualXProxy::SetFillColor ( Color_t  fcolor)
overridevirtual

Set the fill area color.

Reimplemented from TAttFill.

◆ SetFillStyle()

void TGWin32VirtualXProxy::SetFillStyle ( Style_t  fstyle)
overridevirtual

Set the fill area style.

Reimplemented from TAttFill.

◆ SetForeground()

void TGWin32VirtualXProxy::SetForeground ( GContext_t  gc,
ULong_t  foreground 
)
overridevirtual

Sets the foreground color for the specified GC (shortcut for ChangeGC with only foreground mask set).

Parameters
[in]gcspecifies the GC
[in]foregroundthe foreground you want to set

(see also the GCValues_t structure)

Reimplemented from TVirtualX.

◆ SetIconName()

void TGWin32VirtualXProxy::SetIconName ( Window_t  id,
char *  name 
)
overridevirtual

Sets the window icon name.

Reimplemented from TVirtualX.

◆ SetIconPixmap()

void TGWin32VirtualXProxy::SetIconPixmap ( Window_t  id,
Pixmap_t  pix 
)
overridevirtual

Sets the icon name pixmap.

Reimplemented from TVirtualX.

◆ SetInputFocus()

void TGWin32VirtualXProxy::SetInputFocus ( Window_t  id)
overridevirtual

Changes the input focus to specified window "id".

Reimplemented from TVirtualX.

◆ SetKeyAutoRepeat()

void TGWin32VirtualXProxy::SetKeyAutoRepeat ( Bool_t  on = kTRUE)
overridevirtual

Turns key auto repeat on (kTRUE) or off (kFALSE).

Reimplemented from TVirtualX.

◆ SetLineAttributes()

void TGWin32VirtualXProxy::SetLineAttributes ( )
overridevirtual

Invoke the DialogCanvas Line attributes.

Reimplemented from TAttLine.

◆ SetLineColor()

void TGWin32VirtualXProxy::SetLineColor ( Color_t  lcolor)
overridevirtual

Set the line color.

Reimplemented from TAttLine.

◆ SetLineStyle()

void TGWin32VirtualXProxy::SetLineStyle ( Style_t  lstyle)
overridevirtual

Set the line style.

Reimplemented from TAttLine.

◆ SetLineType()

void TGWin32VirtualXProxy::SetLineType ( Int_t  n,
Int_t dash 
)
overridevirtual

Sets the line type.

Parameters
[in]nlength of the dash list
  • n <= 0 use solid lines
  • n > 0 use dashed lines described by dash(n) e.g. n = 4,dash = (6,3,1,3) gives a dashed-dotted line with dash length 6 and a gap of 7 between dashes
[in]dashdash segment lengths

Reimplemented from TVirtualX.

◆ SetLineWidth()

void TGWin32VirtualXProxy::SetLineWidth ( Width_t  lwidth)
overridevirtual

Set the line width.

Reimplemented from TAttLine.

◆ SetMarkerAttributes()

void TGWin32VirtualXProxy::SetMarkerAttributes ( )
overridevirtual

Invoke the DialogCanvas Marker attributes.

Reimplemented from TAttMarker.

◆ SetMarkerColor()

void TGWin32VirtualXProxy::SetMarkerColor ( Color_t  mcolor)
overridevirtual

Set the marker color.

Reimplemented from TAttMarker.

◆ SetMarkerSize()

void TGWin32VirtualXProxy::SetMarkerSize ( Float_t  msize)
overridevirtual

Set the marker size.

Note that the marker styles number 1 6 and 7 (the dots), cannot be scaled. They are meant to be very fast to draw and are always drawn with the same number of pixels; therefore this method does not apply on them.

Reimplemented from TAttMarker.

◆ SetMarkerStyle()

void TGWin32VirtualXProxy::SetMarkerStyle ( Style_t  mstyle)
overridevirtual

Set the marker style.

Reimplemented from TAttMarker.

◆ SetMWMHints()

void TGWin32VirtualXProxy::SetMWMHints ( Window_t  id,
UInt_t  value,
UInt_t  funcs,
UInt_t  input 
)
overridevirtual

Sets decoration style.

Reimplemented from TVirtualX.

◆ SetOpacity()

void TGWin32VirtualXProxy::SetOpacity ( Int_t  percent)
overridevirtual

Sets opacity of the current window.

This image manipulation routine works by adding to a percent amount of neutral to each pixels RGB. Since it requires quite some additional color map entries is it only supported on displays with more than > 8 color planes (> 256 colors).

Reimplemented from TVirtualX.

◆ SetPrimarySelectionOwner()

void TGWin32VirtualXProxy::SetPrimarySelectionOwner ( Window_t  id)
overridevirtual

Makes the window "id" the current owner of the primary selection.

That is the window in which, for example some text is selected.

Reimplemented from TVirtualX.

◆ SetRGB()

void TGWin32VirtualXProxy::SetRGB ( Int_t  cindex,
Float_t  r,
Float_t  g,
Float_t  b 
)
overridevirtual

Sets color intensities the specified color index "cindex".

Parameters
[in]cindexcolor index
[in]r,g,bthe red, green, blue intensities between 0.0 and 1.0

Reimplemented from TVirtualX.

◆ SetSelectionOwner()

Bool_t TGWin32VirtualXProxy::SetSelectionOwner ( Window_t  ,
Atom_t  
)
overridevirtual

Changes the owner and last-change time for the specified selection.

Reimplemented from TVirtualX.

◆ SetTextAlign()

void TGWin32VirtualXProxy::SetTextAlign ( Short_t  align = 11)
overridevirtual

Set the text alignment.

Reimplemented from TAttText.

◆ SetTextAngle()

void TGWin32VirtualXProxy::SetTextAngle ( Float_t  tangle = 0)
overridevirtual

Set the text angle.

Reimplemented from TAttText.

◆ SetTextAttributes()

void TGWin32VirtualXProxy::SetTextAttributes ( )
overridevirtual

Invoke the DialogCanvas Text attributes.

Reimplemented from TAttText.

◆ SetTextColor()

void TGWin32VirtualXProxy::SetTextColor ( Color_t  tcolor = 1)
overridevirtual

Set the text color.

Reimplemented from TAttText.

◆ SetTextFont() [1/2]

Int_t TGWin32VirtualXProxy::SetTextFont ( char *  fontname,
ETextSetMode  mode 
)
overridevirtual

Sets text font to specified name "fontname".This function returns 0 if the specified font is found, 1 if it is not.

Parameters
[in]fontnamefont name
[in]modeloading flag
  • mode = 0 search if the font exist (kCheck)
  • mode = 1 search the font and load it if it exists (kLoad)

Reimplemented from TVirtualX.

◆ SetTextFont() [2/2]

void TGWin32VirtualXProxy::SetTextFont ( Font_t  tfont = 62)
overridevirtual

Set the text font.

Reimplemented from TAttText.

◆ SetTextMagnitude()

void TGWin32VirtualXProxy::SetTextMagnitude ( Float_t  mgn)
overridevirtual

Sets the current text magnification factor to "mgn".

Reimplemented from TVirtualX.

◆ SetTextSize()

void TGWin32VirtualXProxy::SetTextSize ( Float_t  tsize = 1)
overridevirtual

Set the text size.

Reimplemented from TAttText.

◆ SetTextSizePixels()

void TGWin32VirtualXProxy::SetTextSizePixels ( Int_t  npixels)
overridevirtual

Set the text size in pixel.

Set the text size in pixels.

If the font precision is greater than 2, the text size is set to npixels, otherwise the text size is computed as a percent of the pad size.

Reimplemented from TAttText.

◆ SetTypeList()

void TGWin32VirtualXProxy::SetTypeList ( Window_t  win,
Atom_t  prop,
Atom_t typelist 
)
overridevirtual

Add the list of drag and drop types to the Window win.

Reimplemented from TVirtualX.

◆ SetWindowBackground()

void TGWin32VirtualXProxy::SetWindowBackground ( Window_t  id,
ULong_t  color 
)
overridevirtual

Sets the background of the window "id" to the specified color value "color".

Changing the background does not cause the window contents to be changed.

Reimplemented from TVirtualX.

◆ SetWindowBackgroundPixmap()

void TGWin32VirtualXProxy::SetWindowBackgroundPixmap ( Window_t  id,
Pixmap_t  pxm 
)
overridevirtual

Sets the background pixmap of the window "id" to the specified pixmap "pxm".

Reimplemented from TVirtualX.

◆ SetWindowName()

void TGWin32VirtualXProxy::SetWindowName ( Window_t  id,
char *  name 
)
overridevirtual

Sets the window name.

Reimplemented from TVirtualX.

◆ SetWMPosition()

void TGWin32VirtualXProxy::SetWMPosition ( Window_t  id,
Int_t  x,
Int_t  y 
)
overridevirtual

Tells the window manager the desired position [x,y] of window "id".

Reimplemented from TVirtualX.

◆ SetWMSize()

void TGWin32VirtualXProxy::SetWMSize ( Window_t  id,
UInt_t  w,
UInt_t  h 
)
overridevirtual

Tells window manager the desired size of window "id".

Parameters
[in]idwindow identifier
[in]wthe width
[in]hthe height

Reimplemented from TVirtualX.

◆ SetWMSizeHints()

void TGWin32VirtualXProxy::SetWMSizeHints ( Window_t  id,
UInt_t  wmin,
UInt_t  hmin,
UInt_t  wmax,
UInt_t  hmax,
UInt_t  winc,
UInt_t  hinc 
)
overridevirtual

Gives the window manager minimum and maximum size hints of the window "id".

Also specify via "winc" and "hinc" the resize increments.

Parameters
[in]idwindow identifier
[in]wmin,hminspecify the minimum window size
[in]wmax,hmaxspecify the maximum window size
[in]winc,hincdefine an arithmetic progression of sizes into which the window to be resized (minimum to maximum)

Reimplemented from TVirtualX.

◆ SetWMState()

void TGWin32VirtualXProxy::SetWMState ( Window_t  id,
EInitialState  state 
)
overridevirtual

Sets the initial state of the window "id": either kNormalState or kIconicState.

Reimplemented from TVirtualX.

◆ SetWMTransientHint()

void TGWin32VirtualXProxy::SetWMTransientHint ( Window_t  id,
Window_t  main_id 
)
overridevirtual

Tells window manager that the window "id" is a transient window of the window "main_id".

A window manager may decide not to decorate a transient window or may treat it differently in other ways.

Reimplemented from TVirtualX.

◆ ShapeCombineMask()

void TGWin32VirtualXProxy::ShapeCombineMask ( Window_t  id,
Int_t  x,
Int_t  y,
Pixmap_t  mask 
)
overridevirtual

The Non-rectangular Window Shape Extension adds non-rectangular windows to the System.

This allows for making shaped (partially transparent) windows

Reimplemented from TVirtualX.

◆ SubtractRegion()

void TGWin32VirtualXProxy::SubtractRegion ( Region_t  rega,
Region_t  regb,
Region_t  result 
)
overridevirtual

Subtracts regb from rega and stores the results in result.

Reimplemented from TVirtualX.

◆ TextWidth()

Int_t TGWin32VirtualXProxy::TextWidth ( FontStruct_t  font,
const char *  s,
Int_t  len 
)
overridevirtual

Return length of the string "s" in pixels. Size depends on font.

Reimplemented from TVirtualX.

◆ TranslateCoordinates()

void TGWin32VirtualXProxy::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 
)
overridevirtual

Translates coordinates in one window to the coordinate space of another window.

It takes the "src_x" and "src_y" coordinates relative to the source window's origin and returns these coordinates to "dest_x" and "dest_y" relative to the destination window's origin.

Parameters
[in]srcthe source window
[in]destthe destination window
[in]src_x,src_ycoordinates within the source window
[in]dest_x,dest_ycoordinates within the destination window
[in]childreturns the child of "dest" if the coordinates are contained in a mapped child of the destination window; otherwise, child is set to 0

Reimplemented from TVirtualX.

◆ UnionRectWithRegion()

void TGWin32VirtualXProxy::UnionRectWithRegion ( Rectangle_t rect,
Region_t  src,
Region_t  dest 
)
overridevirtual

Updates the destination region from a union of the specified rectangle and the specified source region.

Parameters
[in]rectspecifies the rectangle
[in]srcspecifies the source region to be used
[in]destreturns the destination region

Reimplemented from TVirtualX.

◆ UnionRegion()

void TGWin32VirtualXProxy::UnionRegion ( Region_t  rega,
Region_t  regb,
Region_t  result 
)
overridevirtual

Computes the union of two regions.

Parameters
[in]rega,regbspecify the two regions with which you want to perform the computation
[in]resultreturns the result of the computation

Reimplemented from TVirtualX.

◆ UnmapWindow()

void TGWin32VirtualXProxy::UnmapWindow ( Window_t  id)
overridevirtual

Unmaps the specified window "id".

If the specified window is already unmapped, this function has no effect. Any child window will no longer be visible (but they are still mapped) until another map call is made on the parent.

Reimplemented from TVirtualX.

◆ Update()

void TGWin32VirtualXProxy::Update ( Int_t  mode = 0)
overridevirtual

Flushes (mode = 0, default) or synchronizes (mode = 1) X output buffer.

Flush flushes output buffer. Sync flushes buffer and waits till all requests have been processed by X server.

Reimplemented from TVirtualX.

◆ UpdateWindow()

void TGWin32VirtualXProxy::UpdateWindow ( Int_t  mode)
overridevirtual

Updates or synchronises client and server once (not permanent).

according to "mode".

Parameters
[in]modeupdate mode.
  • mode = 1 update
  • mode = 0 sync

Reimplemented from TVirtualX.

◆ Warp()

void TGWin32VirtualXProxy::Warp ( Int_t  ix,
Int_t  iy,
Window_t  id = 0 
)
overridevirtual

Sets the pointer position.

Parameters
[in]ixnew X coordinate of pointer
[in]iynew Y coordinate of pointer
[in]idwindow identifier

Coordinates are relative to the origin of the window id or to the origin of the current window if id == 0.

Reimplemented from TVirtualX.

◆ WMDeleteNotify()

void TGWin32VirtualXProxy::WMDeleteNotify ( Window_t  id)
overridevirtual

Tells WM to send message when window is closed via WM.

Reimplemented from TVirtualX.

◆ WriteGIF()

Int_t TGWin32VirtualXProxy::WriteGIF ( char *  name)
overridevirtual

Writes the current window into GIF file.

Returns 1 in case of success, 0 otherwise.

Reimplemented from TVirtualX.

◆ WritePixmap()

void TGWin32VirtualXProxy::WritePixmap ( Int_t  wid,
UInt_t  w,
UInt_t  h,
char *  pxname 
)
overridevirtual

Writes the pixmap "wid" in the bitmap file "pxname".

Parameters
[in]widthe pixmap address
[in]w,hthe width and height of the pixmap.
[in]pxnamethe file name

Reimplemented from TVirtualX.

◆ XorRegion()

void TGWin32VirtualXProxy::XorRegion ( Region_t  rega,
Region_t  regb,
Region_t  result 
)
overridevirtual

Calculates the difference between the union and intersection of two regions.

Parameters
[in]rega,regbspecify the two regions with which you want to perform the computation
[in]resultreturns the result of the computation

Reimplemented from TVirtualX.

Friends And Related Symbol Documentation

◆ TGWin32

friend class TGWin32
friend

Definition at line 32 of file TGWin32VirtualXProxy.h.

Member Data Documentation

◆ fgRealObject

TVirtualX * TGWin32VirtualXProxy::fgRealObject = 0
staticprotected

Definition at line 35 of file TGWin32VirtualXProxy.h.

  • graf2d/win32gdk/inc/TGWin32VirtualXProxy.h
  • graf2d/win32gdk/src/TGWin32VirtualXProxy.cxx