25 #ifndef ROOT_TVirtualX
34 #if !defined(__CINT__)
38 #include "gdk/win32/gdkwin32.h"
42 typedef ULong_t LPCRITICAL_SECTION;
43 typedef unsigned long DWORD;
46 typedef unsigned long XID;
47 typedef XID GdkDrawable;
48 typedef XID GdkCursor;
49 typedef XID GdkColormap;
50 typedef XID GdkWindow;
51 typedef XID GdkVisual;
75 XColor_t() { color.pixel = 0; color.red = color.green = color.blue = 0; fDefined =
kFALSE; }
115 ULong_t &xmask, GdkWindowAttr &xattr);
339 const char *s,
Int_t len);
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.
void CloseWindow1()
Delete current window.
void MapColorStruct(ColorStruct_t *color, GdkColor &xcolor)
Map a ColorStruct_t to a XColor structure.
void RescaleWindow(Int_t wid, UInt_t w, UInt_t h)
Rescale the window wid.
GdkGC * GetGC(Int_t which) const
Return desired Graphics Context ("which" maps directly on gGCList[]).
const char * DisplayName(const char *dpyName=0)
Return hostname on which the display is opened.
virtual ~TGWin32()
destructor.
void SetMarkerSize(Float_t markersize)
Set marker size index.
void XorRegion(Region_t rega, Region_t regb, Region_t result)
Calculate the difference between the union and intersection of two regions.
void FillPolygon(Window_t id, GContext_t gc, Point_t *points, Int_t npnt)
FillPolygon fills the region closed by the specified path.
void SetClipRectangles(GContext_t gc, Int_t x, Int_t y, Rectangle_t *recs, Int_t n)
Set clipping rectangles in graphics context.
void SetWMSize(Window_t id, UInt_t w, UInt_t h)
Tells window manager the desired size of window "id".
Semi-Abstract base class defining a generic interface to the underlying, low level, native graphics backend (X11, Win32, MacOS, OpenGL...).
void SetLineWidth(Width_t width)
Set line width.
Bool_t Init(void *display=0)
Initialize Win32 system. Returns kFALSE in case of failure.
void ConvertSelection(Window_t, Atom_t &, Atom_t &, Atom_t &, Time_t &)
Get Clipboard data.
void MoveWindow(Int_t wid, Int_t x, Int_t y)
Move the window wid.
Int_t EventsPending()
Returns number of pending events.
void SetWindowBackground(Window_t id, ULong_t color)
Set the window background color.
void SetLineType(Int_t n, Int_t *dash)
Set line type.
void SetOpacity(Int_t percent)
Set opacity of a window.
void SetLineColor(Color_t cindex)
Set color index for lines.
void SelectWindow(Int_t wid)
Select window to which subsequent output is directed.
XColor_t & GetColor(Int_t cid)
Return reference to internal color structure associated to color index cid.
Bool_t ParseColor(Colormap_t cmap, const char *cname, ColorStruct_t &color)
Parse string cname containing color name, like "green" or "#00FF00".
void ClosePixmap()
Delete current pixmap.
void DeleteProperty(Window_t, Atom_t &)
Deletes the specified property on the specified window.
void SetDashes(GContext_t gc, Int_t offset, const char *dash_list, Int_t n)
Specify a dash pattertn.
void UpdateFillStyle()
Set fill area style index.
void CloseWindow()
Delete current window.
Bool_t IsVisible(Int_t x, Int_t y, UInt_t w, UInt_t h)
Test if there is really something to render.
void ReparentWindow(Window_t id, Window_t pid, Int_t x, Int_t y)
Reparent window, make pid the new parent and position the window at position (x,y) in new parent...
Bool_t fFillColorModified
void SetUserThreadId(ULong_t id)
Set user thread id.
FontStruct_t LoadQueryFont(const char *font_name)
Load font and query font.
void SetMarkerColor(Color_t cindex)
Set color index for markers.
void MapRaised(Window_t id)
Map window on screen and put on top of all windows.
void Update(Int_t mode=0)
Flush (mode = 0, default) or synchronize (mode = 1) X output buffer.
Display_t GetDisplay() const
Returns handle to display (might be useful in some cases where direct X11 manipulation outside of TVi...
void GrabPointer(Window_t id, UInt_t evmask, Window_t confine, Cursor_t cursor, Bool_t grab=kTRUE, Bool_t owner_events=kTRUE)
Establish an active pointer grab.
UInt_t ScreenWidthMM() const
Returns the width of the screen in millimeters.
GContext_t CreateGC(Drawable_t id, GCValues_t *gval)
Create a graphics context using the values set in gval (but only for those entries that are in the ma...
void GetGeometry(Int_t wid, Int_t &x, Int_t &y, UInt_t &w, UInt_t &h)
Return position and size of window wid.
void ShapeCombineMask(Window_t id, Int_t x, Int_t y, Pixmap_t mask)
The Nonrectangular Window Shape Extension adds nonrectangular windows to the System.
void SetDoubleBufferOFF()
Turn double buffer mode off.
Window_t GetInputFocus()
Returns the window id of the window having the input focus.
void SetMarkerType(Int_t type, Int_t n, GdkPoint *xy)
Set marker type.
Description of a X11 color.
void DeleteImage(Drawable_t img)
Deallocates the memory associated with the image img.
Bool_t ReadPictureDataFromFile(const char *filename, char ***ret_data)
Read picture data from file and store in ret_data.
void CloseDisplay()
close display (terminate server/gMainThread thread)
void SetColor(GdkGC *gc, Int_t ci)
Set the foreground color in GdkGC.
Bool_t CheckEvent(Window_t id, EGEventType type, Event_t &ev)
Check if there is for window "id" an event of type "type".
Window_t FindRWindow(Window_t win, Window_t dragwin, Window_t input, int x, int y, int maxd)
Recursively search in the children of Window for a Window which is at location x, y and is DND aware...
void SetWMSizeHints(Window_t id, UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc)
Give the window manager minimum and maximum size hints.
Bool_t fMarkerColorModified
static const char * filename()
void RaiseWindow(Window_t id)
Put window on top of window stack.
void UpdateLineStyle()
Update line style.
void SetWindowName(Window_t id, char *name)
Set window name.
ULong_t GetPixel(Color_t cindex)
Return pixel value associated to specified ROOT color number.
void DrawFillArea(Int_t n, TPoint *xy)
Fill area described by polygon.
void ChangeGC(GContext_t gc, GCValues_t *gval)
Change entries in an existing graphics context, gc, by values from gval.
void GetWindowAttributes(Window_t id, WindowAttributes_t &attr)
Get window attributes and return filled in attributes structure.
void SetWMState(Window_t id, EInitialState state)
Set the initial state of the window. Either kNormalState or kIconicState.
void DrawImage(FT_Bitmap *source, ULong_t fore, ULong_t back, GdkImage *xim, Int_t bx, Int_t by)
Draw FT_Bitmap bitmap to xim image at position bx,by using specified foreground color.
Int_t AddWindow(ULong_t qwid, UInt_t w, UInt_t h)
Register a window created by Qt as a ROOT window (like InitWindow()).
void UnmapWindow(Window_t id)
Unmap window from screen.
static std::string format(double x, double y, int digits, int width)
This class is the basic interface to the Win32 graphics system.
void MapSubwindows(Window_t id)
Maps all subwindows for the specified window "id" in top-to-bottom stacking order.
void FreeFontStruct(FontStruct_t fs)
Free font structure returned by GetFontStruct().
void DeletePictureData(void *data)
Delete picture data created by the function ReadPictureDataFromFile.
void MapKeySym(UInt_t &keysym, UInt_t &xkeysym, Bool_t tox=kTRUE)
Map to and from X key symbols.
Int_t TextWidth(FontStruct_t font, const char *s, Int_t len)
Return length of string in pixels. Size depends on font.
void PutPixel(Drawable_t id, Int_t x, Int_t y, ULong_t pixel)
Overwrites the pixel in the image with the specified pixel value.
Int_t OpenDisplay(const char *dpyName=0)
Open the display. Return -1 if the opening fails, 0 when ok.
void SendEvent(Window_t id, Event_t *ev)
Send event ev to window id.
void Align(void)
Compute alignment variables.
void GetPasteBuffer(Window_t id, Atom_t atom, TString &text, Int_t &nchar, Bool_t del)
Get contents of paste buffer atom into string.
Window_t GetParent(Window_t id) const
Return the parent of the window.
void SetDoubleBuffer(Int_t wid, Int_t mode)
Set the double buffer on/off on window wid.
Region_t CreateRegion()
Create a new empty region.
void LowerWindow(Window_t id)
Lower window so it lays below all its siblings.
Pixmap_t CreatePixmapFromData(unsigned char *bits, UInt_t width, UInt_t height)
create an image from RGB data.
static const double x2[5]
void SetTextFont(Font_t fontnumber)
Set specified font.
void QueryPointer(Int_t &ix, Int_t &iy)
Query pointer position.
void SetDoubleBufferON()
Turn double buffer mode on.
void DrawText(Int_t x, Int_t y, Float_t angle, Float_t mgn, const char *text, ETextMode mode)
Draw text using TrueType fonts.
void SetFillColor(Color_t cindex)
Set color index for fill areas.
void GetPlanes(Int_t &nplanes)
Get maximum number of planes.
Int_t GetProperty(Window_t, Atom_t, Long_t, Long_t, Bool_t, Atom_t, Atom_t *, Int_t *, ULong_t *, ULong_t *, unsigned char **)
Returns the actual type of the property, the actual format of the property, and a pointer to the data...
void DeletePixmap(Pixmap_t pmap)
Explicitely delete pixmap resource.
void SetInput(Int_t inp)
Set input on or off.
Bool_t CreatePictureFromFile(Drawable_t id, const char *filename, Pixmap_t &pict, Pixmap_t &pict_mask, PictureAttributes_t &attr)
Create a picture pixmap from data on file.
void CopyGC(GContext_t org, GContext_t dest, Mask_t mask)
Copies graphics context from org to dest.
Int_t WriteGIF(char *name)
Writes the current window into GIF file.
void MapGCValues(GCValues_t &gval, ULong_t &xmask, GdkGCValues &xgval, Bool_t tox=kTRUE)
Map a GCValues_t to a XCGValues structure if tox is true.
void ChangeProperty(Window_t id, Atom_t property, Atom_t type, UChar_t *data, Int_t len)
This function alters the property for the specified window and causes the X server to generate a Prop...
void GetImageSize(Drawable_t id, UInt_t &width, UInt_t &height)
Returns the width and height of the image id.
Pixmap_t CreatePixmap(Drawable_t id, UInt_t w, UInt_t h)
Creates a pixmap of the width and height you specified and returns a pixmap ID that identifies it...
void GrabButton(Window_t id, EMouseButton button, UInt_t modifier, UInt_t evmask, Window_t confine, Cursor_t cursor, Bool_t grab=kTRUE)
Establish passive grab on a certain mouse button.
Bool_t fLineColorModified
void IntersectRegion(Region_t rega, Region_t regb, Region_t result)
Compute the intersection of rega and regb and return result region.
Bool_t CreatePictureFromData(Drawable_t id, char **data, Pixmap_t &pict, Pixmap_t &pict_mask, PictureAttributes_t &attr)
Create a pixture pixmap from data.
void FreeColor(Colormap_t cmap, ULong_t pixel)
Free color cell with specified pixel value.
Int_t OpenPixmap(UInt_t w, UInt_t h)
Open a new pixmap.
void SetCursor(Int_t win, ECursor cursor)
Set the cursor.
void MapEventMask(UInt_t &emask, UInt_t &xemask, Bool_t tox=kTRUE)
Map event mask to or from gdk.
Window_t GetDefaultRootWindow() const
Return handle to the default root window created when calling XOpenDisplay().
Float_t GetTextMagnitude()
Returns the current font magnification factor.
void RenderString(Int_t x, Int_t y, ETextMode mode)
Perform the string rendering in the pad.
void SetMWMHints(Window_t id, UInt_t value, UInt_t funcs, UInt_t input)
Set decoration style for MWM-compatible wm (mwm, ncdwm, fvwm?).
void GrabKey(Window_t id, Int_t keycode, UInt_t modifier, Bool_t grab=kTRUE)
Establish passive grab on a certain key.
void GetRGB(Int_t index, Float_t &r, Float_t &g, Float_t &b)
Get rgb values for color "index".
virtual void GetTextExtent(UInt_t &w, UInt_t &h, char *mess)
Return the size of a character string.
Bool_t IsDNDAware(Window_t win, Atom_t *typelist)
Checks if Window win is DND aware, and knows any of the DND formats passed in argument.
void Warp(Int_t ix, Int_t iy, Window_t id=0)
Set pointer position.
void SetFillStyle(Style_t style)
Set fill area style.
Int_t KeysymToKeycode(UInt_t keysym)
Convert a keysym to the appropriate keycode.
void SetDrawMode(EDrawMode mode)
Set the drawing mode.
void SetIconName(Window_t id, char *name)
Set window icon name.
Bool_t PointInRegion(Int_t x, Int_t y, Region_t reg)
Returns true if the point x,y is in the region.
Bool_t HasTTFonts() const
Returns True when TrueType fonts are used.
void SetLineStyle(Style_t linestyle)
Set line style.
void DrawCellArray(Int_t x1, Int_t y1, Int_t x2, Int_t y2, Int_t nx, Int_t ny, Int_t *ic)
Draw a cell array.
void SetTextSize(Float_t textsize)
Set current text size.
void GetCharacterUp(Float_t &chupx, Float_t &chupy)
Return character up vector.
Int_t RequestLocator(Int_t mode, Int_t ctyp, Int_t &x, Int_t &y)
Request Locator position.
void SetDNDAware(Window_t win, Atom_t *typelist)
Add XdndAware property and the list of drag and drop types to the Window win.
void DrawPolyLine(Int_t n, TPoint *xy)
Draw a line through all points.
void CopyPixmap(Int_t wid, Int_t xpos, Int_t ypos)
Copy the pixmap wid at the position xpos, ypos in the current window.
void DrawSegments(Drawable_t id, GContext_t gc, Segment_t *seg, Int_t nseg)
Draws multiple line segments. Each line is specified by a pair of points.
char ** ListFonts(const char *fontname, Int_t max, Int_t &count)
Return list of font names matching "fontname".
Bool_t AllocColor(GdkColormap *cmap, GdkColor *color)
Allocate color in colormap.
void SetClipOFF(Int_t wid)
Turn off the clipping for the window wid.
void SetWindowBackgroundPixmap(Window_t id, Pixmap_t pxm)
Set pixmap as window background.
void MapModifierState(UInt_t &state, UInt_t &xstate, Bool_t tox=kTRUE)
Map modifier key state to or from X.
void FreeFontNames(char **fontlist)
Frees the specified the array of strings "fontlist".
void DrawBox(Int_t x1, Int_t y1, Int_t x2, Int_t y2, EBoxMode mode)
Draw a box.
Bool_t SetSelectionOwner(Window_t, Atom_t &)
Assigns owner of Clipboard.
Bool_t fFillStyleModified
Bool_t IsCmdThread() const
returns kTRUE if we are inside cmd/server thread
void SetCharacterUp(Float_t chupx, Float_t chupy)
Set character up vector.
void ChangeActivePointerGrab(Window_t, UInt_t, Cursor_t)
Changes the active cursor of the specified window.
void MakeOpaqueColors(Int_t percent, ULong_t *orgcolors, Int_t ncolors)
Get RGB values for orgcolors, add percent neutral to the RGB and allocate new_colors.
void ClearWindow()
Clear current window.
GdkImage * GetBackground(Int_t x, Int_t y, UInt_t w, UInt_t h)
Get the background of the current window in an XImage.
void QueryColors(GdkColormap *cmap, GdkColor *colors, Int_t ncolors)
Returns the current RGB value for the pixel in the XColor structure.
void SetTextColor(Color_t cindex)
Set color index for text.
void DrawLine(Int_t x1, Int_t y1, Int_t x2, Int_t y2)
Draw a line.
GdkCursor * fCursors[kNumCursors]
void DestroySubwindows(Window_t id)
Destroy all internal subwindows.
void GetRegionBox(Region_t reg, Rectangle_t *)
Return smallest enclosing rectangle.
void Bell(Int_t percent)
Sets the sound bell. Percent is loudness from -100% to 100%.
void RemoveWindow(ULong_t qwid)
Remove a window created by Qt (like CloseWindow1()).
void SetMarkerStyle(Style_t markerstyle)
Set marker style.
Int_t GetDoubleBuffer(Int_t wid)
Query the double buffer value for the window wid.
void MapEvent(Event_t &ev, GdkEvent &xev, Bool_t tox=kTRUE)
Map Event_t structure to gdk_event structure.
Cursor_t CreateCursor(ECursor cursor)
Create cursor handle (just return cursor from cursor pool fCursors).
void ChangeWindowAttributes(Window_t id, SetWindowAttributes_t *attr)
Change window attributes.
void LookupString(Event_t *event, char *buf, Int_t buflen, UInt_t &keysym)
Convert the keycode from the event structure to a key symbol (according to the modifiers specified in...
void DestroyWindow(Window_t id)
Destroy window.
void SetTextMagnitude(Float_t mgn=1)
Sets the current text magnification factor to "mgn".
FontH_t GetFontHandle(FontStruct_t fs)
Return handle to font described by font structure.
void DrawPolyMarker(Int_t n, TPoint *xy)
Draw n markers with the current attributes at position x, y.
void ImgPickPalette(GdkImage *image, Int_t &ncol, Int_t *&R, Int_t *&G, Int_t *&B)
Returns in R G B the ncol colors of the palette used by the image.
void RemovePixmap(GdkDrawable *pix)
Remove the pixmap pix.
void FillRectangle(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, UInt_t h)
Draw a filled rectangle. Filling is done according to the gc.
void DrawString(Drawable_t id, GContext_t gc, Int_t x, Int_t y, const char *s, Int_t len)
Draw a string using a specific graphics context in position (x,y).
static const double x1[5]
void WritePixmap(Int_t wid, UInt_t w, UInt_t h, char *pxname)
Write the pixmap wid in the bitmap file pxname.
void ChangeProperties(Window_t id, Atom_t property, Atom_t type, Int_t format, UChar_t *data, Int_t len)
Put data into Clipboard.
Int_t GetScreen() const
Returns screen number.
void DrawRectangle(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, UInt_t h)
Draw a rectangle outline.
void SetInputFocus(Window_t id)
Set keyboard input focus to window id.
Bool_t GUIThreadMessageFunc(MSG *msg)
Message processing function for the GUI thread.
Bool_t EqualRegion(Region_t rega, Region_t regb)
Returns true if two regions are equal.
void SetWMPosition(Window_t id, Int_t x, Int_t y)
Tells the window manager the desired position [x,y] of window "id".
void ClearArea(Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h)
Clear a window area to the bakcground color.
Pixmap_t CreateBitmap(Drawable_t id, const char *bitmap, UInt_t width, UInt_t height)
Create a bitmap (i.e. pixmap with depth 1) from the bitmap data.
void WMDeleteNotify(Window_t id)
Tell WM to send message when window is closed via WM.
Int_t RequestString(Int_t x, Int_t y, char *text)
Request a string.
void MapSetWindowAttributes(SetWindowAttributes_t *attr, ULong_t &xmask, GdkWindowAttr &xattr)
Map a SetWindowAttributes_t to a GdkWindowAttr structure.
void SelectInput(Window_t id, UInt_t evmask)
Defines which input events the window is interested in.
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)
Return handle to newly created gdk window.
void GetGCValues(GContext_t gc, GCValues_t &gval)
Get current values from graphics context gc.
Bool_t fMarkerStyleModified
void PutImage(Int_t offset, Int_t itran, Int_t x0, Int_t y0, Int_t nx, Int_t ny, Int_t xmin, Int_t ymin, Int_t xmax, Int_t ymax, UChar_t *image, Drawable_t id)
Draw image.
void SetWMTransientHint(Window_t id, Window_t main_id)
Tell window manager that window is a transient window of gdk_parent_root.
void MapWindow(Window_t id)
Map window on screen.
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
void UnionRegion(Region_t rega, Region_t regb, Region_t result)
Compute the union of rega and regb and return result region.
void SetIconPixmap(Window_t id, Pixmap_t pic)
Set pixmap the WM can use when the window is iconized.
#define org(otri, vertexptr)
Mother of all ROOT objects.
void GetFontProperties(FontStruct_t font, Int_t &max_ascent, Int_t &max_descent)
Return some font properties.
Int_t InitWindow(ULong_t window)
Open window and return window number.
Int_t fMaxNumberOfWindows
void DeleteFont(FontStruct_t fs)
Explicitely delete font structure obtained with LoadQueryFont().
Window_t GetCurrentWindow() const
Return current window pointer. Protected method used by TGWin32TTF.
Colormap_t GetColormap() const
Returns handle to colormap.
Window_t GetWindowID(Int_t wid)
Return the X11 window identifier.
unsigned char * GetColorBits(Drawable_t wid, Int_t x, Int_t y, UInt_t width, UInt_t height)
Gets DIB bits x, y, width, height - position of bitmap returns a pointer on bitmap bits array in form...
void DestroyRegion(Region_t reg)
Destroy region.
Bool_t EmptyRegion(Region_t reg)
Return true if the region is empty.
void GetWindowSize(Drawable_t id, Int_t &x, Int_t &y, UInt_t &w, UInt_t &h)
Return geometry of window (should be called GetGeometry but signature already used).
void MoveResizeWindow(Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h)
Move and resize a window.
Int_t GetDepth() const
Get maximum number of planes.
void ResizeWindow(Int_t wid)
Resize the current window if necessary.
Region_t PolygonRegion(Point_t *points, Int_t np, Bool_t winding)
Create region for the polygon defined by the points array.
#define dest(otri, vertexptr)
Window_t GetPrimarySelectionOwner()
Returns the window id of the current owner of the primary selection.
Int_t AddPixmap(ULong_t pix, UInt_t w, UInt_t h)
register pixmap created by TGWin32GLManager
void SetForeground(GContext_t gc, ULong_t foreground)
Set foreground color in graphics context (shortcut for ChangeGC with only foreground mask set)...
void Sync(Int_t mode)
Set synchronisation on or off.
Int_t FindColor(ULong_t pixel, ULong_t *orgcolors, Int_t ncolors)
Returns index in orgcolors (and new_colors) for pixel.
void SubtractRegion(Region_t rega, Region_t regb, Region_t result)
Subtract rega from regb.
Bool_t fDefined
true if pixel value is defined
void NextEvent(Event_t &event)
Copies first pending event from event queue to Event_t structure and removes event from queue...
void ConvertPrimarySelection(Window_t id, Atom_t clipboard, Time_t when)
XConvertSelection() causes a SelectionRequest event to be sent to the current primary selection owner...
void UnionRectWithRegion(Rectangle_t *rect, Region_t src, Region_t dest)
Union of rectangle with a region.
void SetClassHints(Window_t id, char *className, char *resourceName)
Set the windows class and resource name.
void MapCursor(ECursor cursor, Int_t &xcursor)
void UpdateWindow(Int_t mode)
Update display.
void SetClipRegion(Int_t wid, Int_t x, Int_t y, UInt_t w, UInt_t h)
Set clipping region for the window wid.
Drawable_t CreateImage(UInt_t width, UInt_t height)
Allocates the memory needed for an drawable.
Int_t ResizePixmap(Int_t wid, UInt_t w, UInt_t h)
Resize a pixmap.
FontStruct_t GetFontStruct(FontH_t fh)
Retrieve associated font structure once we have the font handle.
void SetTypeList(Window_t win, Atom_t prop, Atom_t *typelist)
Add the list of drag and drop types to the Window win.
Atom_t InternAtom(const char *atom_name, Bool_t only_if_exist)
Return atom handle for atom_name.
Visual_t GetVisual() const
Returns handle to visual.
void SetKeyAutoRepeat(Bool_t on=kTRUE)
Turn key auto repeat on or off.
void QueryColor(Colormap_t cmap, ColorStruct_t &color)
Fill in the primary color components for a specific pixel value.
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)
TranslateCoordinates translates coordinates from the frame of reference of one window to another...
void SetTextAlign(Short_t talign=11)
Set text alignment.
This class stores a (key,value) pair using an external hash.
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)
Copy a drawable (i.e.
virtual void GetTextExtent(UInt_t &, UInt_t &, wchar_t *)
Returns the size of the specified character string "mess".
void DeleteGC(GContext_t gc)
Explicitely delete a graphics context.
void SetPrimarySelectionOwner(Window_t id)
Makes the window id the current owner of the primary selection.
void IconifyWindow(Window_t id)
Iconify the window.
const char Int_t const char * image
void SetRGB(Int_t cindex, Float_t r, Float_t g, Float_t b)
Set color intensities for given color index.