Log of /trunk/gui/gui/inc/TGColorSelect.h
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: 6921 byte(s)
Diff to
previous 23115
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
18317 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Mar 17 12:03:00 2007 UTC (7 years, 10 months ago) by
brun
Original Path:
trunk/gui/inc/TGColorSelect.h
File length: 6979 byte(s)
Diff to
previous 15849
From Ilka:
TColorWheel:
- add new method TColorWheel::SetCanvas(TCanvas *can)
- changes in Draw method related to the parent canvas
- line width changed to 1 (was 2) for better view in a small canvas
TGColorDialog:
- added two tabs: Color Wheel and Basic Colors
- in Color Wheel tab implemented visualization of TColorWheel with the possibility to select a color from it
- in Basic Colors tab is kept old functionality of this class. The text fields for RGB and HLS and OK, Cancel buttons moved to the main dialog frame. They are used also for setting a color selected from the color wheel.
- New button Preview applies the selected color to the selected object if this dialog is called from the graphics editor. The selection can be confirmed as the final one by clicking the OK button or refused - by clicking on Cancel button.
- new methods: DoPreview and SetColorInfo
- many layout changes
- added aditional frame for comparison between the old and new selected colors
TGColorSelect:
- new method PreviewColor
Revision
15849 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 26 13:36:44 2006 UTC (8 years, 6 months ago) by
rdm
Original Path:
trunk/gui/inc/TGColorSelect.h
File length: 6940 byte(s)
Diff to
previous 15672
Instead of providing default implementations for copy ctor's and assignment
operators we better make them private (and not implemented) to avoid people
from accidentally using them. Especially the collections classes and the
TQObject derived classes. In these classes the default implementations would
cause havoc due to multiple deletions of the same objects and other
potential memory corruptions.
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/inc/TGColorSelect.h
File length: 6705 byte(s)
Diff to
previous 15134
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
15134 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by
brun
Original Path:
trunk/gui/inc/TGColorSelect.h
File length: 6701 byte(s)
Diff to
previous 15040
From Federico Carminati:
"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."
Revision
14816 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 24 14:07:47 2006 UTC (8 years, 9 months ago) by
antcheva
Original Path:
trunk/gui/inc/TGColorSelect.h
File length: 6317 byte(s)
Diff to
previous 14666
From Valeriy Onuchin:
- changed signature of Enable() method to Enable(Bool_t on = kTRUE)
- added dummy methods:
void SetDown(Bool_t on = kTRUE, Bool_t emit = kFALSE) { TGButton::SetDown(on, emit); }
void Rename(const char *title) { TGTextButton::SetTitle(title); }
void SetEnabled(Bool_t e = kTRUE) {TGButton::SetEnabled(e); }
Revision
14580 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 7 08:43:59 2006 UTC (8 years, 9 months ago) by
brun
Original Path:
trunk/gui/inc/TGColorSelect.h
File length: 5922 byte(s)
Diff to
previous 13292
From Matevz Tadel:
Introduce a new set of classes dedicated to event visualisation.
TGLObject: base-class for direct GL renderers
TAttBBox: interface, helps maintain/calculate bounding-box
needed for TGLObject (see TPointSet3D and TPointSet3DGL)
TPointSet3D: a demo class for direct GL rendering
TPointSet3DGL:
Mods in existing classes to interface the new classes
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/inc/TGColorSelect.h
File length: 5879 byte(s)
Diff to
previous 9945
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
9945 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 8 08:13:11 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/gui/inc/TGColorSelect.h
File length: 5376 byte(s)
Diff to
previous 9174
From Valeriy Onuchin:
- provide default constructors for most TGxxx classes.
The goal:
1. required for guibuilder
2. providing ROOT I/O for GUI classes.
In all default constructors parent window is NULL,
that means that parent window is currently editted window.
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/inc/TGColorSelect.h
File length: 5290 byte(s)
Diff to
previous 6663
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.
Revision
6663 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed May 28 11:55:32 2003 UTC (11 years, 8 months ago) by
rdm
Original Path:
trunk/gui/inc/TGColorSelect.h
File length: 5232 byte(s)
Diff to
previous 5291
major changes in the resource management of the GUI classes. Introduced the
new class TGResourcePool which loads and keeps track of the 3 main resource
pools: fonts, picture and graphics contexts. Fonts are now handled via the
new TGFont class (and TGFontPool). In the past the loading of these resources
was done in TGClient and required all GUI classes to have TGClient as friend
to have their global statics initialized by TGClient. Adding a new widget
required TGClient.cxx to be changed too. This was obviously not good.
In addition it is now possible to find the full definition of the original
resource back based on a resource handle (GContext_t or FontStruct_t yielding
a TGGC or TGFont) which is needed for the SavePrimitive() functionality.
The resource pool can be found via TGClient (e.g. gClient->GetResourcePool()).
To see all active graphics contexts, fonts and pictures do:
gClient->GetResourcePool()->GetGCPool()->Print()
gClient->GetResourcePool()->GetFontPool()->Print()
gClient->GetResourcePool()->GetPicturePool()->Print()
For more examples see the widget source code.
These changes are largely backward compatible except maybe for some low
level 3rd party widgets that use some TGFrame internals. In these cases
the following sed command will patch the code:
sed -e "s/fgBlackGC()/GetBlackGC()()/g" \
-e "s/fgWhiteGC()/GetWhiteGC()()/g" \
-e "s/fgHilightGC()/GetHilightGC()()/g" \
-e "s/fgShadowGC()/GetShadowGC()()/g" \
-e "s/fgBckgndGC()/GetBckgndGC()()/g" \
widget.cxx > widget.cxx.new
Revision
5291 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Sat Sep 14 00:35:05 2002 UTC (12 years, 4 months ago) by
rdm
Original Path:
trunk/gui/inc/TGColorSelect.h
File length: 5179 byte(s)
new TGColorSelect, TGColorDialog, TGColorPalette and TGColorPick widgets.
Ported by Bertrand from xclass library to ROOT for win32gdk. Further fine-tuned
by me. See guitest(.cxx|.C) for example usage.
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.