[root] / trunk / graf2d / x11 / inc / TGX11.h Repository:
ViewVC logotype

Log of /trunk/graf2d/x11/inc/TGX11.h

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 48705 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 26 09:58:27 2013 UTC (22 months, 3 weeks ago) by axel
File length: 21674 byte(s)
Diff to previous 46906
From Olivier: hide x11 headers from ROOT's headers.

Revision 46906 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 30 15:31:09 2012 UTC (2 years, 2 months ago) by couet
File length: 21782 byte(s)
Diff to previous 46896
Fix warning on ubuntu (EC)

Revision 46896 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 30 13:29:05 2012 UTC (2 years, 2 months ago) by couet
File length: 21719 byte(s)
Diff to previous 37734
New class TMathText to Draw Math formulas using a TeX processor written by Yue Shi Lai

Revision 37734 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 7 09:53:54 2011 UTC (4 years ago) by rdm
File length: 21631 byte(s)
Diff to previous 32427
From Axel:
Hide CPP macros None and Status from Cling PCH files.

Revision 32427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 1 18:25:58 2010 UTC (4 years, 10 months ago) by rdm
File length: 21314 byte(s)
Diff to previous 32017
From Matevz and me:
Add virtual function:

Int_t TVirtualX::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).
Examples:
  "Apple-WM" - does server run on MacOS X;
  "XINERAMA" - does server support Xinerama.

Revision 32017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 14 15:36:38 2010 UTC (5 years ago) by rdm
File length: 21260 byte(s)
Diff to previous 23140
remove private, out of date, Xpm.h file which was an old copy
of <X11/xpm.h>. Directly use <X11/xpm.h>.

Revision 23140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 11:01:39 2008 UTC (6 years, 9 months ago) by rdm
File length: 21257 byte(s)
Diff to previous 20882
move the following directories to "graf2d":

asimage, freetype, gpad, graf, postscript, qt, win32gdk, x11, x11ttf

move the following directories to "graf3d":

eve, ftgl, g3d, gl, x3d

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 21257 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 21257 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 21302 byte(s)
Diff to previous 18536
remove :$ from tag line

Revision 18536 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 19 21:07:02 2007 UTC (7 years, 9 months ago) by brun
Original Path: trunk/x11/inc/TGX11.h
File length: 21312 byte(s)
Diff to previous 18026
From Bertrand:
Added drag and drop support for Linux (Xdnd) and Windows (Clipboard).
It is now possible to drag an histogram (or any other graphical object)
from an opened file in TBrowser to any TCanvas.
It is also possible to drag a text file from TBrowser to a TGTextView
or TGTextEdit widget (i.e. in TGTextEditor).
On Linux, it is even possible to drag from a Root application to another
one, or to drag a text file (i.e. a macro) from the ROOT browser to an
external editor (i.e. Kate).
On Windows, drag and drop only works within the same ROOT application
(for the time being).

Revision 18026 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 20 09:44:44 2007 UTC (7 years, 11 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 20462 byte(s)
Diff to previous 15049
From Valeri Onuchin:
add Xft support to ROOT X11. This is an important extension as it allows
GUI text to be rendered (server side) with TrueType fonts making the GUI
much more readable. During configuration we check for Xft availability.
At run time the user can decide to use or not use it via the:

X11.UseXft:   yes/no

flag in the rootrc file. The default is to use it when the capability
is compiled in the ROOT libraries.

Revision 15049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 15 13:31:01 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 20425 byte(s)
Diff to previous 13992
From Bertrand:
new method:
   TVirtualX::ShapeCombineMask(Window_t id, Int_t x, Int_t y,
                               Pixmap_t mask)
The Nonrectangular Window Shape Extension adds nonrectangular
windows to the System. This allows for making shaped (partially transparent)
windows. One point is that this method depends on <X11/extensions/shape.h>.
For the few old X11 servers that might not support this we have to add a
special case. It is for future skins/themes in ROOT.

Revision 13992 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 6 16:34:43 2006 UTC (8 years, 11 months ago) by couet
Original Path: trunk/x11/inc/TGX11.h
File length: 20344 byte(s)
Diff to previous 12655
From Timur:
- Changes to replace rendering into DIB/pixmap with direct rendering
  (result will be read into pixmap/DIB and used by pad)

Revision 12655 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 5 12:24:28 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/x11/inc/TGX11.h
File length: 20359 byte(s)
Diff to previous 12503
From Olivier:
- Fix coding conventions violations

Revision 12503 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 18 11:12:59 2005 UTC (9 years, 5 months ago) by brun
Original Path: trunk/x11/inc/TGX11.h
File length: 20354 byte(s)
Diff to previous 12102
From Timur:

Add a new member to TStyle
   Bool_t  fCanvasPreferGL;    //if true, rendering in canvas is with GL
and the corresponding Get/set functions:
   Bool_t  GetCanvasPreferGL() const {return fCanvasPreferGL;}
   void    SetCanvasPreferGL(Bool_t prefer = kTRUE) {fCanvasPreferGL=prefer;}

 Changes to enable gl-in-pad. 1.You should type
  gStyle->SetCanvasPreferGL(kTRUE) to turn on GL support.
2. Do not try to use at the same time gl-viewer and gl-in-pad :)) -
   do not work at the moment.
3. GL-in-pad can be used with g3d and geom now (not with hists, polylines
  or polymarkers, composite shapes do not work).
4. You can rotate scene, zoom (with J,K and context menu), select :
  TGLPixmap (viewer) - interesting only with context menu item
  Pad under viewer - you can change color of pad (==3d scene background)
  Object from the scene (g3d node or geom volume). For selected object
  you can change the color (geom volumes, when selected, higlight
  themselves)
5. In case of complex geometry the selection is very slow now (will be fixed
   soon)
6. IMPORTANT! TGLPixmap is only a temporary testing facility, will be
   replaced ASAP.
7. IMPORTANT! this new stuff is unstable :)

Revision 12102 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 21 18:15:13 2005 UTC (9 years, 7 months ago) by brun
Original Path: trunk/x11/inc/TGX11.h
File length: 20280 byte(s)
Diff to previous 11817
From Valeriy Onuchin:

- TASImage. SavePrimitive method was implemented.
  I see that the produced macro works OK when compiled, but fails
  when interpreted (the problem of CINT?)
- TASImage::Paint - fix session hanging when generating PDF files (it is
  not possible for the moment)
- TPad::Print - fix generation of files in GIF format  from pad containing
  TImages.
- TGX11 - started implementation of two new methods GetColorBits,
  CreatePixmapFromData.
   Hopefully  be finished before release.

Revision 11817 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 18 16:58:42 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/x11/inc/TGX11.h
File length: 20090 byte(s)
Diff to previous 9694
From Valeriy Onuchin:
- TVirtualX, TGX11, TGWin32, TGWin32VirtualXProxy -  protected method
made public.
GetCurrentWindow() returns pointer to the current internal window
used in canvas graphic.
That allows to  fix a bug of producing bad gif, png, etc. canvas images
when canvas is obscured by another window. Thanks to Mike Kordosky who
reported it.

Revision 9694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 9 15:35:52 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/x11/inc/TGX11.h
File length: 20090 byte(s)
Diff to previous 9603
From Valeriy Onuchin and Timur  Pocheptsov
New OpenGL interface should be now operational on Linux and Windows

Revision 9603 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 27 23:02:11 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 20216 byte(s)
Diff to previous 9170
add additional Window_t argument to Warp(), this is used by the
coming MDI widget.

Revision 9170 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 11 13:34:34 2004 UTC (10 years, 7 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 20199 byte(s)
Diff to previous 8544
new methods: DestroySubwindows() and ReparentWindow(), needed for new
widgets.

Revision 8544 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 6 16:40:32 2004 UTC (10 years, 9 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 20075 byte(s)
Diff to previous 7768
change first argument of ListFonts() from "char*" to "const char*".

Revision 7768 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 16 16:22:56 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/x11/inc/TGX11.h
File length: 20068 byte(s)
Diff to previous 5391
From valeriy Onuchin
- TGX11, TGWin32 CreatePictureFromFile method
  modified. That allows to create TGPicture, TGpictureButton etc.
 from GIF files.

Revision 5391 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 4 16:06:29 2002 UTC (12 years, 3 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 20038 byte(s)
Diff to previous 5290
support for OpenGL in win32 gdk version. By Bertrand.

Revision 5290 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 14 00:31:02 2002 UTC (12 years, 4 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 19912 byte(s)
Diff to previous 5275
change in signature of the new CreateImage() method. Removed redundant
bitmap_pad argument.

Revision 5275 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 13 01:36:22 2002 UTC (12 years, 4 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 19930 byte(s)
Diff to previous 5140
added the new methods:
   FreeColor(), ListFonts(), FreeFontNames(), CreateImage(), GetImageSize(),
   PutPixel(), PutImage() and DeleteImage() methods.
Win32 versions by Bertrand.

Revision 5140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 17 16:29:31 2002 UTC (12 years, 5 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 19304 byte(s)
Diff to previous 4048
new method GetPixel(Color_t) that returns the pixel value associated to the
specified TColor color index.

Revision 4048 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 21 11:30:17 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 19266 byte(s)
Diff to previous 3605
added new methods:
   Visual_t     GetVisual() const;
   Int_t        GetScreen() const;
   Int_t        GetDepth() const;
   Colormap_t   GetColormap() const;
these methods are usefull in some cases where direct X11 manipulation outside
of TVirtualX is needed. Also added code in TGX11 to detect the best X11
visual available. Some X servers insist on using by default an 8 bit
PseudoColor visual while 16 or 24 bit TrueColor (or DirectColor) visual are
available. Using the best visual is in particular important for image
processing classes.

Revision 3605 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 8 08:34:22 2002 UTC (13 years ago) by brun
Original Path: trunk/x11/inc/TGX11.h
File length: 18587 byte(s)
Diff to previous 2710
Change signature of TVirtualX::WriteGIF from void to Int_t.
The return value is tested by TPad::Print.

In case the file file cannot be opened, WriteGif prints an error message.

Revision 2710 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 21 17:29:39 2001 UTC (13 years, 5 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 18587 byte(s)
Diff to previous 2255
new method GetInputFocus() to find out which widget has the input focus.

Revision 2255 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 21 11:20:07 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 18554 byte(s)
Diff to previous 2220
remove limitation of only 1000 colors. Colors are now stored in a TExMap
hash table, with the key being the TColor color index and the value a pointer
to the associated XColor_t structure.

Revision 2220 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 16 16:23:23 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 18052 byte(s)
Diff to previous 2179
added support for TrueColor X11 servers with bgr instead of rgb (or any
other permutation for that matter), like eXceed.

Revision 2179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 11 17:20:14 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 17991 byte(s)
Diff to previous 1959
new methods AllocColor() and QueryColors() that reduce the expensive
X11 round-trip commands XAllocColor and XQueryColor in case of TrueColor
displays.

Revision 1959 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 11 15:19:11 2001 UTC (13 years, 9 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 17442 byte(s)
Diff to previous 1883
some changes by Denis Bertini that will allow the ROOT TCanvas et al to be
embedded in a Qt driven GUI.

Revision 1883 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 3 10:34:28 2001 UTC (13 years, 9 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 17277 byte(s)
Diff to previous 787
Added new argument to CreateWindow() telling which type of window should be
created (mainframe, transientframe, tempframe (for tooltips)). Needed for
Win32.

Revision 787 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 19 10:42:31 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 17234 byte(s)
Diff to previous 760
added a set of region manipulation interfaces and methods.

Revision 760 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 13 09:54:28 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 16465 byte(s)
Diff to previous 594
added method GetNativeEvent(). This method returns a Handle_t to the native
event structure (XEvent for X11). By casting the Handle_t to an XEvent* you
can access the current X event. This is useful to dispatch events to a 3rd
party application that knows nothing about ROOT's Event_t.

Revision 594 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 7 00:26:06 2000 UTC (14 years, 4 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 16329 byte(s)
Diff to previous 334
addional argument (owner_events) for method GrabPointer(). The argument has
a default value which makes the change backward compatible.

Revision 334 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 6 16:49:39 2000 UTC (14 years, 6 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 16272 byte(s)
Diff to previous 319
signature change in ConvertPrimarySelection().

Revision 319 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 18:45:01 2000 UTC (14 years, 6 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 16258 byte(s)
Diff to previous 3
new methods ChangeProperty() and SetPrimarySelectionOwner(). Need for
the new TGTextEdit widget.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/x11/inc/TGX11.h
File length: 16020 byte(s)
Copied from: branches/rdm/x11/inc/TGX11.h revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/x11/inc/TGX11.h
File length: 16020 byte(s)
Initial import of ROOT into CVS

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9