Log of /trunk/core/base/src/TVirtualX.cxx
Parent Directory
Revision
48992 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 28 15:26:26 2013 UTC (21 months, 3 weeks ago) by
rdm
File length: 83463 byte(s)
Diff to
previous 46896
From Lifeng Sun:
The attached patchset fixes a bunch of typo in the source:
0001-succes-success.patch
0002-preceed-preced.patch
0003-informations-information.patch
0004-childs-children.patch
0005-avaliable-available.patch
0006-writeable-writable.patch
0007-comand-command.patch
0008-unkown-unknown.patch
0009-wierd-weird.patch
0010-wheter-whether.patch
0011-unecessary-unnecessary.patch
0012-splitted-split.patch
0013-registerd-registered.patch
0014-recieve-receive.patch
0015-processsing-processing.patch
0016-ouput-output.patch
0017-mutiple-multiple.patch
0018-lenght-length.patch
0019-interupted-interrupted.patch
0020-independant-independent.patch
0021-inconsistant-inconsistent.patch
0022-expresion-expression.patch
0023-explicitely-explicitly.patch
0024-enviroment-environment.patch
0025-deafult-default.patch
0026-continous-continuous.patch
0027-completly-completely.patch
0028-commited-committed.patch
0029-choosen-chosen.patch
0030-backgroud-background.patch
0031-auxilliary-auxiliary.patch
0032-authentification-authentication.patch
0033-appropiate-appropriate.patch
0034-an-other-another.patch
0035-environement-environment.patch
0036-targetting-targeting.patch
0037-suppported-supported.patch
0038-paramater-parameter.patch
Revision
43719 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 12 23:00:08 2012 UTC (2 years, 9 months ago) by
rdm
File length: 80918 byte(s)
Diff to
previous 38781
From Timur:
MacOS X native Cocoa/Quartz based backend. To build this version do:
./configure --enable-cocoa
Code is still rough but will be refined quickly for the May release.
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: 80457 byte(s)
Diff to
previous 31347
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
22961 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by
rdm
File length: 79515 byte(s)
Diff to
previous 20877
move the directories:
base clib cont meta metautils newdelete pcre rint thread unix utils
winnt zip
under the new core meta directory.
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/base/src/TVirtualX.cxx
File length: 78915 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/base/src/TVirtualX.cxx
File length: 75843 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/base/src/TVirtualX.cxx
File length: 75650 byte(s)
Diff to
previous 13991
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
12495 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 17 09:10:44 2005 UTC (9 years, 5 months ago) by
brun
Original Path:
trunk/base/src/TVirtualX.cxx
File length: 75350 byte(s)
Diff to
previous 12101
From Timur:
In view of the coming GL-in-TPad new features, I have changes in
several modules and want to add them step by step. This is the first
update, these classes are auxiliary stuff. I'm planning to add other stuff
tomorrow (and modification in pad and canvas, which will enable
gl-in-pad).
TGLManager is a base abstract class, responsible for
window creation, gl-context/glpixmap and context creation,
manipulation with gl-context and gl-pixmap.
TGWin32GLManager - concrete implementation for Win32
TGX11GLManager - concrete implementation for X11.
Revision
12101 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 21 17:09:26 2005 UTC (9 years, 7 months ago) by
brun
Original Path:
trunk/base/src/TVirtualX.cxx
File length: 75021 byte(s)
Diff to
previous 11817
From Valeriy and Ilka:
The last patch of Valeriy with some additional comments by Ilka:
- TVirtualX/TGWin32/TGWin32VirtualXProxy, TGQt new methods added
o unsigned char *GetColorBits(Drawable_t wid, Int_t x, Int_t y, UInt_t w, U
Int_t h)rns an array of pixels created from a part of drawable (defined by x, y,
w, h)n 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
o Pixmap_t CreatePixmapFromData(unsigned char * bits, UInt_t width, UInt_t h
eight)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
- TGQt (*provided changes do not work; I cannot run rose_image.C tutorials under
tRoot because of SegV in:
#3 0x0114172a in TGQt::GetWindowID (this=0xa1a2ab8, id=4)
at qt/src/GQtGUI.cxx:507
#4 0x01b56914 in TASImage::Paint (this=0xaa80d68, option=0xac85d1c "xxx")
at asimage/src/TASImage.cxx:1047
#5 0x02ddc948 in TPad::PaintModified (this=0xacb85d8)
at gpad/src/TPad.cxx:2396
#6 0x02ddc834 in TPad::PaintModified (this=0xac1f108)
at gpad/src/TPad.cxx:2381
#7 0x02db7cdb in TCanvas::Update (this=0xac1f108)
at gpad/src/TCanvas.cxx:1858
*
TGQt::GetWindowID (this=0xa1a2ab8, id=4) at qt/src/GQtGUI.cxx:507
o corrected an implementation of "Window_t TGQt::GetWindowID(Int_t id)"
That allows to run rose_image.C tutorials under QtRoot
o implemented TGQt::GetCurrentWindow()
That allows to save canvas/pad in in image formats by using TASImage cl
- TImage/TASImage:
o new method added PaintImage(Drawable_t wid, Int_t x, Int_t y) which allows t
o the Draw option which allows to expand image to the pad size was renamed fro
o new Draw/Paint option added - if "z" is specified an image palette is drawn
o TAttImage: SetPaletteEnabled/IsPaletteEnabled introduced - which allows to s
o image convertion to gray is now "toggable"
o new method :PaintImage(Drawable_t wid, Int_t x, Int_t y) introduced which al
- tutorials/galaxy_image.C. Unnecessary "img->SetName("n4254"); was removed
- TPad::Print - remove QtRoot specific code
- TToggle - "sanity" check added
- TGPicture.cxx - *added QtRoot specific code by gVirtualX->InheritsFrom("TGQt")
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/base/src/TVirtualX.cxx
File length: 74120 byte(s)
Diff to
previous 10367
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
10367 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 20 22:32:45 2004 UTC (10 years, 3 months ago) by
brun
Original Path:
trunk/base/src/TVirtualX.cxx
File length: 73895 byte(s)
Diff to
previous 10362
From Bertrand Bellenot:
Added TASImage::GetPicture() support on win32
Modified TGWin32::GetWindowSize, in order to handle also pixmaps.
Added new TGWin32 method :
static Pixmap_tDIB2Pixmap(ULong_t bmi, ULong_t bmbits);
allowing to convert a DIB (from libAfterImage) into a Pixmap_t
and declared as :
R__EXTERN Pixmap_t (*gDIB2Pixmap)(ULong_t bmbits, ULong_t bmi);
into TVirtualX.h, to avoid to add thisnew method in TVirtualX class.
It can be easily tested with a macro like this :
{
gSystem->Load("libASImage");
TImage *img = TImage::Open("Alice.jpg");
const TGPicture *pic = img->GetPicture();
TGMainFrame *m = new TGMainFrame(gClient->GetRoot(), 10, 10);
TGPictureButton *btn = new TGPictureButton(m, pic);
m->AddFrame(btn);
m->MapSubwindows();
m->MapWindow();
m->Resize();
}
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.