[root] / trunk / gui / gui / src / TGDoubleSlider.cxx Repository:
ViewVC logotype

Log of /trunk/gui/gui/src/TGDoubleSlider.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

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: 25192 byte(s)
Diff to previous 35582
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 35582 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 13:38:27 2010 UTC (4 years, 4 months ago) by bellenot
File length: 25102 byte(s)
Diff to previous 34557
Add the "keep_names" option when saving the GUI source, to allow the users to change the name of any frame in the ROOT Gui Builder and more important to keep it across the different load/edit/save cycles. This should solve a problem reported on the forum at: http://root.cern.ch/phpBB3//viewtopic.php?f=3&t=11216

Revision 34557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 22 15:12:01 2010 UTC (4 years, 6 months ago) by rdm
File length: 24844 byte(s)
Diff to previous 32545
fix cases in ROOT code where we would truncate the TTime (to avoid the
new error messages in TTime operator long on 32-bit platforms).

Revision 32545 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 11 09:28:45 2010 UTC (4 years, 10 months ago) by bellenot
File length: 24861 byte(s)
Diff to previous 28591
- Fix the following clang diagnostics:
  warning: switch condition is a bool
  note: jump bypasses variable initialization
  error: illegal switch case into protected

Revision 28591 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 13 08:36:34 2009 UTC (5 years, 8 months ago) by bellenot
File length: 25041 byte(s)
Diff to previous 23115
Fix a bug (unfortunate typo) with double slider scale.

Revision 23115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 13:35:37 2008 UTC (6 years, 9 months ago) by rdm
File length: 25043 byte(s)
Copied from: trunk/gui/src/TGDoubleSlider.cxx revision 23114
Diff to previous 20882
moved to directory "gui" the following directories:

fitpanel, ged, gui, guibuilder, guihtml, qtgsi, qtroot, sessionviewer

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 25043 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 25043 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 25099 byte(s)
Diff to previous 16970
remove :$ from tag line

Revision 16970 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 28 12:56:15 2006 UTC (8 years, 1 month ago) by antcheva
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 25109 byte(s)
Diff to previous 15827
From Bertrand:
- Fix cursor position when turning on constrained with
min and max being zero.

Revision 15827 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 20 01:12:15 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 25053 byte(s)
Diff to previous 15820
From Bertrand:
Add "grip" pixmaps at each end of double slider to make clear it is a
slider.

Revision 15820 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 19 12:58:52 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 24075 byte(s)
Diff to previous 15672
From Bertrand:
Automatically change mouse cursor shape when the pointer is over the resizing
regions of double and triple sliders.

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/TGDoubleSlider.cxx
File length: 21316 byte(s)
Diff to previous 13919
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 13919 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 10:34:42 2006 UTC (9 years ago) by antcheva
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 21295 byte(s)
Diff to previous 13278
fMove was not initialised (fix valgrind warnings)

Revision 13278 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 17 19:09:28 2005 UTC (9 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 21282 byte(s)
Diff to previous 10904
From Ilka:
code style fixes (comments, descriptions and identation).

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/TGDoubleSlider.cxx
File length: 21275 byte(s)
Diff to previous 7761
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 7761 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 15 18:04:27 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 21214 byte(s)
Diff to previous 7732
From Ilka:

Better initialisation of variables ParGC and ParFont.

Revision 7732 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 11 16:26:11 2003 UTC (11 years, 1 month ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 21211 byte(s)
Diff to previous 7568
From Ilka:
fix in saving menu radio entries.

Revision 7568 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 11 14:39:59 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 21130 byte(s)
Diff to previous 7520
From Valeriy:

Ed reported a problem at http://root.cern.ch/phpBB2/viewtopic.php?t=144
These changes should help.
 - 50 ms "dead time" added to HandleMotion method.
    That will improve performance of TGDoubleSlider and reduce CPU usage

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/TGDoubleSlider.cxx
File length: 20849 byte(s)
Diff to previous 6819
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 6819 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 4 08:48:28 2003 UTC (11 years, 6 months ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 17548 byte(s)
Diff to previous 6663
fix to avoid floating point exception when drawing double sliders with
equal upper and lower boundaries. By Brett Viren.

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/src/TGDoubleSlider.cxx
File length: 17071 byte(s)
Diff to previous 2394
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 2394 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 7 11:14:19 2001 UTC (13 years, 7 months ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 16987 byte(s)
Diff to previous 1330
two new default arguments: one to reverse the slider min,max and one to turn
on the drawing of little markers that show the move ans stretch regions of the
sliders. The guiviewer uses these new options. Mods by Brett Viren.

Revision 1330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 8 11:45:12 2001 UTC (14 years ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 16022 byte(s)
Diff to previous 813
add protection against division by 0 when resizing. Fix provided by
Andreas Zoglauer.

Revision 813 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 22 19:28:58 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 15958 byte(s)
Diff to previous 685
changed inheritance tree. Move TQObject inheritance from TGWidget to
TGFrame. This allows all frames to emit signals (all widgets were frames,
but not all frames were widgets). Added several missing signals in several
different widgets to get tutorials/guitest.C working.

Revision 685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 29 08:57:05 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 15190 byte(s)
Diff to previous 3
many change connected with the introduction of the TGGC (graphics context)
class (all backward compatible). Also many of the static default GC's and
fontstructs are now available to the user. This can simplify code in many
places. See change in guitest.cxx.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/gui/src/TGDoubleSlider.cxx
File length: 15080 byte(s)
Copied from: branches/rdm/gui/src/TGDoubleSlider.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/gui/src/TGDoubleSlider.cxx
File length: 15080 byte(s)
Initial import of ROOT into CVS

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9