Log of /trunk/gui/gui/src/TGLayout.cxx
Parent Directory
Revision
44507 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by
axel
File length: 36862 byte(s)
Diff to
previous 42600
Remove
using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.
Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.
Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.
Revision
31669 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 8 15:15:47 2009 UTC (5 years, 1 month ago) by
bellenot
File length: 36297 byte(s)
Diff to
previous 25278
- Add missing initializations (coverity)
- Fix potential memory leaks (coverity)
- Add protections against possible NULL pointers (coverity)
Revision
19665 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 22 08:50:02 2007 UTC (7 years, 5 months ago) by
antcheva
Original Path:
trunk/gui/src/TGLayout.cxx
File length: 36208 byte(s)
Diff to
previous 18975
From Valeriy Onuchin (tested by Bertrand):
o TGLayoutManager::IsModified method was overloaded.
This method is used to indicate that sub frames
changed/unchanged their positions/sizes after layout.
For example, in some cases positions&sizes of sub frames
can be unchanged after calling Layout method
(e.g. for TGTileLayout manager).
TGLayoutManager::IsModified will return kFALSE.
o TGListBox.h,cxx, TGCanvas.h,cxx, TGListTree.h,cxx,
TGListView.h,cxx
- new painting technique was implemented:
1. repaint only exposed/dirty regions.
Previously the whole view port (or even container frame)
was repainted.
2. use double-buffering (using back plane pixmap) during
repainting.
That allows to eliminate flickering during resizing,
scrolling, exposing/overlapping.
- several bugs were fixed:
o keyboard navigation in list view, list box, list tree
o resizing columns (details view) in list view
when horizontal scroll bar not in zero position.
o in list view (details view) buttons were moved when
it was resized.
o extra unnecessary repainting in list view, list tree
were removed.
o probably I missed something to mention .
o TGScrollBar
- bug fix: increment value was reset to 1 after button release.
- do not redraw scroll button if it's width/height was unchanged.
That reduces flickering
Revision
18975 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 7 08:45:21 2007 UTC (7 years, 7 months ago) by
antcheva
Original Path:
trunk/gui/src/TGLayout.cxx
File length: 35262 byte(s)
Diff to
previous 17352
From Valeriy O.
New data member Bool_t fModified of TGTileLayout class.
New virtual method TGLayoutManager::IsModified() and
TGTileLayout::IsModified(). This method is used to indicate
that subframes changed their positions after layout.
For example, for TGTileLayout and derived layout managers
after calling Layout method positions of frames can be unchanged.
So, the returned value will be kFALSE.
Revision
15672 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 3 16:10:46 2006 UTC (8 years, 6 months ago) by
brun
Original Path:
trunk/gui/src/TGLayout.cxx
File length: 34800 byte(s)
Diff to
previous 15253
from Axel:
Change the signature of SavePrimitive from
void SavePrimitive(ofstream &out, Option_t *option);
to
void SavePrimitive(ostream &out, Option_t *option = "");
With this change one can do, eg
myhist.SavePrimitive(std::cout);
WARNING: do rm -f tree/src/*.o
Revision
12504 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 18 11:54:27 2005 UTC (9 years, 5 months ago) by
rdm
Original Path:
trunk/gui/src/TGLayout.cxx
File length: 34653 byte(s)
Diff to
previous 10403
From Ilka:
TGButtonGroup.cxx:
- SavePrimitive methods generate the code for any widget included in
a button group, not only for buttons.
TGLayout.cxx
- default layout hints need to be generated in the code for AddPopup()
methods of menu bar.
Revision
10373 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 21 12:07:54 2004 UTC (10 years, 3 months ago) by
brun
Original Path:
trunk/gui/src/TGLayout.cxx
File length: 34324 byte(s)
Diff to
previous 9964
From Valeriy Onuchin:
- in TGContainer::RemoveAll() - TGFrameElements were not deleted.
- in TGComposteFrame dtor. - for all frames and layout hints set frame_elements to ZERO.
- in TGComposteFrame::Cleanup - remove useless code.
- in TGComposteFrame::MapSubwindows - add sanity check.
- in TGLayoutHints::UpdateLayoutHints - small optimization.
-in TGLBContainer - TGFrameElements were not deleted.
-in TRootBrowser::RemoveAll - TGFrameElements were not deleted.
Revision
9935 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 7 09:31:08 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/gui/src/TGLayout.cxx
File length: 34794 byte(s)
Diff to
previous 7987
From Valeriy Onuchin:
- TGLayoutHints now derived also from TRefCnt
- pointer to frame element containing this layout_hints added
- setter methods added to TGLayoutHints (used in guibuilding)
- Print methods added to TGLayoutHints and TGFrameElement classes.
Usefull for debugging, e.g. "compositeFrame->GetList()->Print()"
Revision
7714 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 10 15:33:39 2003 UTC (11 years, 1 month ago) by
brun
Original Path:
trunk/gui/src/TGLayout.cxx
File length: 31509 byte(s)
Diff to
previous 7693
From Valeriy Onuchin:
- nasty bug in TGHorizontalLayout (TGVerticalLayout) solved.
The bug was in wrong Layout algorithm when several frames
where added with kLHintsCenterX (kLHintsCenterY).
The bug origination is traced to typos in the code from http://xclass.sourceforge.net/
because it's still where.
Thanks to Frank Lavaud and Ilka who discovered it.
Revision
7693 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 5 01:17:03 2003 UTC (11 years, 1 month ago) by
brun
Original Path:
trunk/gui/src/TGLayout.cxx
File length: 30859 byte(s)
Diff to
previous 7683
From Valeriy Onouchin
- flicker-free scrolling is implemented for TGContainer class.
Scrolling through listview looks much better now. One of the nice
"side effects" of solving "limited list box entries" bug.
- followups mods after solving "missing horizontal scroll bar in detailed view" bug
TGListDetailsLayout constructor modified for SavePrimitives method.
Revision
7683 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 3 00:25:19 2003 UTC (11 years, 1 month ago) by
brun
Original Path:
trunk/gui/src/TGLayout.cxx
File length: 30841 byte(s)
Diff to
previous 7679
From Valeriy Onuchin:
- SetDefaultWidth, SetDefaultHeight methods introduced to
TGLayoutManager class. That allows to force setting default size to
listview container.
Along with changes in listview related classes that fixes
1. "missing horizontal scroll bar in detailed view" bug.
2. "mess in the names in detailed view" bug.
Revision
7679 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 2 00:08:41 2003 UTC (11 years, 1 month ago) by
rdm
Original Path:
trunk/gui/src/TGLayout.cxx
File length: 30822 byte(s)
Diff to
previous 7520
From Valeriy:
- mods in TGVerticalLayout::Layout(), TGHorizontalLayout::Layout() methods:
Protections added against assigning negative value to "UInt_t type variable".
That fixes "two overlapping buttons problem under windows".
Revision
7520 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Nov 5 13:08:26 2003 UTC (11 years, 2 months ago) by
rdm
Original Path:
trunk/gui/src/TGLayout.cxx
File length: 30477 byte(s)
Diff to
previous 2606
From Ilka:
Any ROOT GUI can now be saved as a macro. Executing this macro brings back
the current GUI (minus the action handling). This very important development
allows to get easily the source for any GUI, which can then be inspected or
used to create other GUI's. Also this will allow a GUI builder to save and
restore GUI's.
To save the source of a GUI use the methods TGMainFrame::SaveSource() or
TGTransientFrame::SaveSource(), where the latter saves the source for dialogs.
To trigger the saving of any GUI just use ctrl-s.
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.