Log of /trunk/gui/gui/src/TGMdiDecorFrame.cxx
Parent Directory
Revision
40547 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 11 10:17:24 2011 UTC (3 years, 5 months ago) by
bellenot
File length: 37988 byte(s)
Diff to
previous 23115
Improve layout (e.g. show/hide scrollbars) when moving the mdi child windows inside the main frame (was not working properly on Windows)
Revision
14398 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 23 15:56:03 2006 UTC (8 years, 10 months ago) by
antcheva
Original Path:
trunk/gui/src/TGMdiDecorFrame.cxx
File length: 37856 byte(s)
Diff to
previous 13292
From Valeriy Onuchin:
Mods in several GUI classes related to the following changes required by
the GUI builder development.
- TGWindow::fEditDisabled converted fron Bool_t to UInt_t
Defined new EEditMode bit flags:
enum EEditMode {
kEditEnable = 0, // allow edit
kEditDisable = BIT(0), // disable edit
kEditDisableEvents = BIT(1), // window events cannot be edited
kEditDisableGrab = BIT(2), // window grab cannot be edited
kEditDisableLayout = BIT(3), // window layout cannot be edited
kEditDisableResize = BIT(4), // window size cannot be edited
kEditDisableHeight = BIT(5), // window height cannot be edited
kEditDisableWidth = BIT(6) // window width cannon be edited
};
- TGWindow::IsEditDisabled renamed as TGWindow::GetEditDisabled
- TGFrame::SavePrimitiveSubframes made public
Revision
13292 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 21 00:25:38 2005 UTC (9 years, 2 months ago) by
rdm
Original Path:
trunk/gui/src/TGMdiDecorFrame.cxx
File length: 37861 byte(s)
Diff to
previous 12247
From Bertrand:
- added comments in TGMdi classes.
- added comments in TGColorSelect and TGColorDialog classes.
- added comments in TGFontDialog classes.
- changes in all these classes to make rulechecker happy.
- added a new member / option in TGListTree allowing to disable
item opening on doubleclick.
Revision
12247 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 5 12:36:07 2005 UTC (9 years, 6 months ago) by
brun
Original Path:
trunk/gui/src/TGMdiDecorFrame.cxx
File length: 35199 byte(s)
Diff to
previous 10904
From valeriy Onuchin:
- new class TImagePlugin is introduced;
To add possibility to read/write new image format one needs to create
a derived class and to override two methods:
virtual unsigned char *ReadFile(const char *filename, UInt_t &w,UInt_t &h)
virtual Bool_t WriteFile(const char *filename, unsigned char *argb,
UInt_t w, UInt_t h)
... and to specify it in the root resource file:
Plugin.TImagePlugin: ps TASPluginGS ASPluginGS "TASPluginGS(const char*)"
the name of plugin file extension DLL containing an implementation of
TImagePlugin subclass
- new class TASImagePlugin that is a subclass of TImagePlugin with ASImage
specific implementations;
- new class TASPluginGS - an image plugin class that allows to create images from
PS/EPS/PDF files and to display them in TCanvas/TPad. In addition, it allows to
browse PS/EPS/PDF files with the ROOT browser.
New files:
asimage/inc/LinkDefGS.h
asimage/inc/TASImagePlugin.h
asimage/inc/TASPluginGS.h
asimage/src/TASPluginGS.cxx
graf/inc/TImagePlugin.h
icons/pdf.xpm
icons/tb_find.xpm
libAfterImage.tar.gz
- TROOT.h
o new data member fClipboard and corresponding getter GetClipboard();
TSeqCollection *fClipboard; //List of clipboard objects;
- TGFrame
o embedded frames resized correctly now.
- TGCanvas
o several useful methods made public
- TGListBox, TGComboBox
o new method FindEntry(const char *s) added which returns entry by name
- TGMdiMainFrame, TGMdiDecorFrame
o fix bug which changed text color globally
o add displaying scroll bars when mdi frame is moved out of mdi
canvas viewport
- TGTextEdit/TGView, guitest
o added processing of:
2-clicks - selects a word
3-clicks - selects a line
4-clicks - selects the whole text
o change the key handling
Ctrl-F - invokes Search dialog
Ctrl-L - invokes Goto line dialog
Correspondent changes added to guitest.C and guitest.cxx (TextEdit test)
o readonly mode added
- TGSearchDialog
o Text entry was replaced by "text entry" combobox. It allows to
"remember" a history of entered search strings.
o new static method TGSearchDialog *&gDialog() introduced. It returns
a global search dialog.
o Search method - display warning message box when object is not found
- TRootBrowser, mime.types
o possibility to browse PS/EPS/PDF fies added
o possibility to browse text files added. The content of text file
appears in "icon box" window (a la netscape)
o "Search" tool bar button added. It activates the "search dialog" for
searching a specified icon or text when a text file is browsed.
- TGuiBldEditor.
o fix bug which changed text color globally
Revision
10904 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 12 18:39:30 2005 UTC (10 years ago) by
brun
Original Path:
trunk/gui/src/TGMdiDecorFrame.cxx
File length: 34719 byte(s)
Diff to
previous 10743
From Valeriy Onuchin:
- new concept of "pseudo-window" introduced.
pseudo-window - is an object inherited from TGWindow which
is not created by window system (X11 or M$ Windows).
It does not consume window system resouces.
The main use-case of pseudo-windows is GUI containers
with very large number of items. For example, listviews, listboxes,
where listview/listbox items/entries are pseudo-windows.
Pseudo-window has "window id" equal to zero.
In order to "activate pseudo-window concept" the parent should
have fIsMapSubwindows dat member to be kFALSE.
So, it's backward compatible, setting fIsMapSubwindows=kTRUE in parent window
will activate normal behavior, i.e. will be created in window system.
Introduction of "pseudo-window concept" forced the changes in
TGX11, TGWin32 classes to avoid TVirtualX methods execution when
"window id" is NULL (the case of pseudo-window).
Introduction of pseudo-windows which do not consume window system resouces
greately improved performance of TGListView, TGListBox, TGComboBox objects.
Now it's possible to have these containers with more than 10000 items.
- some optimization in TGLBContainer drawing
- add SetWindowName to most GUI classes. It's very usefull for GUI debugging.
Revision
10743 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 9 22:55:06 2004 UTC (10 years, 1 month ago) by
brun
Original Path:
trunk/gui/src/TGMdiDecorFrame.cxx
File length: 34589 byte(s)
Diff to
previous 10402
From Valeriy Onuchin:
- TRootGuiBuilder,TGuiBldDragManager - more mods to make GuiBuilder
re-entrant.
That allows to create, close ROOT GuiBuilder during single ROOT session.
- TGMdiMainFrame - made methods virtual.
CloseAll method added , which allows to close all opened mdi frames.
- TGMdiDecorFrame - mods for hierarchical cleaning.
Revision
10402 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 25 12:06:50 2004 UTC (10 years, 3 months ago) by
rdm
Original Path:
trunk/gui/src/TGMdiDecorFrame.cxx
File length: 34534 byte(s)
Diff to
previous 10378
From Valeriy:
- TGFrame::MustCleanup now returns Int_t value (was Bool_t).
Backward compatible.
- Int_t TGWindow::MustCleanup method added.
- TGTextButton dtor. Checking added. If kDeepCleanup is on call
of GetMainFrame() gave segv.
- in TGMainFrame handing Ctrl-S it was not possible to save macro
in other directory than the current.
- The same fix as above for ROOT GuiBuilder. Thanks to
Christian Stratova for reporting it.
- TGMdiDecorFrame now using hierarchical cleaning. That fixes
many memory leaks and improves robustness of GuiBuilder.
- TRootCanvas/TRootEmbeddedCanvas - disable swithching to
editable mode (canvas became black after that) for container frame.
- Gui Builder highlights any plain composite frame under pointer.
Protection added that highlighted frame exists and is a ROOT frame.
- improvements in TGuiBldQuickHandler. Sometimes it gave segv.
Revision
10119 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 21 11:29:17 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/gui/src/TGMdiDecorFrame.cxx
File length: 34443 byte(s)
Diff to
previous 10103
From Valeriy Onuchin:
- TGMdiTitleBar::HandleButton, TGMdiWinResizer::HandleButton do not call
main_frame->Layout when button pressed. I'll try to find a better fix later.
- TGuiBuilder::FindEditableMdiFrame bug fixed
- TGuiBuilder::SaveProject allows to save project when frame is not editable
Revision
10103 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 20 14:28:12 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/gui/src/TGMdiDecorFrame.cxx
File length: 34385 byte(s)
Diff to
previous 10056
From Valeriy Onuchin:
- remove AddInput(kButtonPressMask); from TGMainFrame constructor.
- do not call ((TGMainFrame *)((TGMdiMainFrame *)fMdiWin)->GetMainFrame())->Layout();
when button pressed in TGMdiTitleFrame. That generates segv.
while running GuiBuilder. This is quick fix. I'll try to find solution later.
- TGMdiMainFrame::RemoveMdiFrame(TGMdiFrame *frame) use ID
of removed frame in SendMessage and FrameClosed signal
Revision
9954 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 8 16:03:57 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/gui/src/TGMdiDecorFrame.cxx
File length: 34226 byte(s)
Diff to
previous 9903
From Valeriy Onuchin:
- two classes introduced TVirtualDragManager, TVirtualGuiBld
- TGWindow
o move some TGFrame methods to here
o fEditDisabled data member and setter/getter methods introduced
That allows to disable switch to edit mode
- TGFrame, TGCompositeFrame
o new data members introduced and correspondent setter/getters
UInt_t fMinWidth; // minimal frame width
UInt_t fMinHeight; // minimal frame height
UInt_t fMaxWidth; // maximal frame width
UInt_t fMaxHeight; // maximal frame height
Correction to layout under development.
o fCleanup data member is renamed to fMustCleanup (to avoid name clashes)
o methods required for handling drag and drop as weel for guibuilding added, i.e.
HandleDragEnter, HandleDragLeave, HandleDragMotion, HandleDragDrop etc.
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.