Log of /trunk/graf2d/x11/inc/TGX11.h
Parent Directory
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
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
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
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
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
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
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.
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.