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

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

Parent Directory Parent Directory


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

Revision 47967 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 11 12:34:32 2012 UTC (2 years, 1 month ago) by bellenot
File length: 53819 byte(s)
Diff to previous 44507
Fix Savannah bug #99133: TGListBox : DoubleClicked and MultipleSelections

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: 53740 byte(s)
Diff to previous 41193
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 41193 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 6 10:37:26 2011 UTC (3 years, 3 months ago) by bellenot
File length: 53685 byte(s)
Diff to previous 41150
Fix coverity reports (dereference null return value)

Revision 41150 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 5 13:45:37 2011 UTC (3 years, 3 months ago) by bellenot
File length: 53673 byte(s)
Diff to previous 39706
Fix coverity reports (dereference null value)

Revision 39706 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 14 09:53:13 2011 UTC (3 years, 7 months ago) by bellenot
File length: 53659 byte(s)
Diff to previous 39334
Emit DoubleClicked() signals from TGLBContainer (should solve a problem reported on the forum: http://root.cern.ch/phpBB3//viewtopic.php?f=3&t=10972)

Revision 39334 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 23 07:41:16 2011 UTC (3 years, 8 months ago) by bellenot
File length: 53557 byte(s)
Diff to previous 37718
Assign the last active frame element like we do with the last active frame

Revision 37718 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 5 15:42:03 2011 UTC (4 years ago) by bellenot
File length: 53525 byte(s)
Diff to previous 37717
Fix a compilation warning

Revision 37717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 5 15:38:02 2011 UTC (4 years ago) by bellenot
File length: 53518 byte(s)
Diff to previous 36119
Fix a rounding problem in TGListBox when the entries have different height. Solves the bug #76559 Last item in the TGFontTypeComboBox barely visible

Revision 36119 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 6 14:10:03 2010 UTC (4 years, 3 months ago) by rdm
File length: 53441 byte(s)
Diff to previous 35582
added support for double clicking in a listbox. New signal:
   DoubleClicked()

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: 52113 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: 51984 byte(s)
Diff to previous 33569
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 33569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 18 17:56:20 2010 UTC (4 years, 8 months ago) by bellenot
File length: 51986 byte(s)
Diff to previous 31669
Solve problem of selection as reported on the forum: http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=9971

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: 51749 byte(s)
Diff to previous 29590
- Add missing initializations (coverity)
- Fix potential memory leaks (coverity)
- Add protections against possible NULL pointers (coverity)

Revision 29590 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 27 11:26:33 2009 UTC (5 years, 5 months ago) by bellenot
File length: 51737 byte(s)
Diff to previous 29569
Do not deselect the last selected entry when the multiple selection mode is active

Revision 29569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 24 07:29:09 2009 UTC (5 years, 6 months ago) by bellenot
File length: 51720 byte(s)
Diff to previous 28896
Fix the following problem (reported on Savannah http://savannah.cern.ch/bugs/?53587): 
When trying to add an entry to a list box, the background colour of the new item is ignored and set to white

Revision 28896 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 11 09:31:36 2009 UTC (5 years, 7 months ago) by bellenot
File length: 51501 byte(s)
Diff to previous 28893
Remove trailing spaces.

Revision 28893 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 11 09:19:07 2009 UTC (5 years, 7 months ago) by bellenot
File length: 51549 byte(s)
Diff to previous 26622
- Implement modification in TGListBox::FindEntry() as proposed there:
  https://savannah.cern.ch/bugs/index.php?51655
- Simplify TGComboBox::FindEntry() according to this change

Revision 26622 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 3 11:41:23 2008 UTC (6 years, 1 month ago) by bellenot
File length: 51430 byte(s)
Diff to previous 25854
- Remove pointer motion event mask to avoid mouse 
  move events between the mouse click event and the 
  window unmapping (Fixes bug #32579)
  https://savannah.cern.ch/bugs/?32579

Revision 25854 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 17 07:47:24 2008 UTC (6 years, 3 months ago) by bellenot
File length: 51212 byte(s)
Diff to previous 24835
- Correctly handle specials characters in SavePrimitive()
  quotes (") inside quotes, new lines (\n), backslashes (\)

Revision 24835 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 15 15:18:21 2008 UTC (6 years, 6 months ago) by bellenot
File length: 51108 byte(s)
Diff to previous 23757
- Remove UnSelectAll() in TGListBox::FindEntry()
  following users request: http://savannah.cern.ch/bugs/?38870

Revision 23757 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 8 12:52:02 2008 UTC (6 years, 8 months ago) by antcheva
File length: 51090 byte(s)
Diff to previous 23568
From Bertrand:
  Fixed a bug reported at: http://savannah.cern.ch/bugs/?36389
  TGListBox::RemoveEntry() doesn't work for the entry at id = 0

Revision 23568 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 26 21:50:34 2008 UTC (6 years, 8 months ago) by brun
File length: 51089 byte(s)
Diff to previous 23115
From Bertrand:
- Update TGListBox the same way it is done in TGListTree (solve flickering problem on Windows)

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: 51297 byte(s)
Copied from: trunk/gui/src/TGListBox.cxx revision 23114
Diff to previous 22419
moved to directory "gui" the following directories:

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

Revision 22419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 3 00:25:01 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 51297 byte(s)
Diff to previous 20882
From Andrew Savchenko:
ROOT can not be compiled with gcc-4.3.
Some ROOT source files doesn't contain required #include directives,
for example, they use strlen(), but #include <string.h> is missed or
malloc() is used and #include <stdlib.h> is missed. 

Earlier versions of gcc allowed some headers to be included implicitly,
but issued a warning (-Wimplicit-function-declaration). Newer one,
gcc-4.3 denies such silly behaviour: all required headers must be explicitly
included. 

Attached patch fixes this. Also it fixes another issue, which disallows
ROOT to compile under gcc-4.3: C functions don't belong to namespace std,
so expressions like std::memcpy() are no longer valid and plain memcpy()
should be used instead.

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/TGListBox.cxx
File length: 51277 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/TGListBox.cxx
File length: 51277 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/TGListBox.cxx
File length: 51333 byte(s)
Diff to previous 19697
remove :$ from tag line

Revision 19697 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 27 14:45:13 2007 UTC (7 years, 4 months ago) by antcheva
Original Path: trunk/gui/src/TGListBox.cxx
File length: 51343 byte(s)
Diff to previous 19665
From Valeriy Onuchin:
Fix for Qt layer.

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/TGListBox.cxx
File length: 51316 byte(s)
Diff to previous 18854
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 18854 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 22 11:48:30 2007 UTC (7 years, 8 months ago) by antcheva
Original Path: trunk/gui/src/TGListBox.cxx
File length: 51081 byte(s)
Diff to previous 17352
From Valeri Onuchin:
Improvements in flicker-free painting when resizing

Revision 17352 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 16 07:57:59 2007 UTC (8 years ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 51056 byte(s)
Diff to previous 15672
Remove dependency on TMath.h

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/TGListBox.cxx
File length: 51079 byte(s)
Diff to previous 15231
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 15231 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 30 11:29:42 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/gui/src/TGListBox.cxx
File length: 51063 byte(s)
Diff to previous 15220
From Valeriy Onuchin:

- implemented correct sorting for TListBox entries
  presented as integer or float numbers.
- new method RemoveAll added, which allows to remove all entries.

Revision 15220 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 30 06:40:10 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/gui/src/TGListBox.cxx
File length: 49813 byte(s)
Diff to previous 15191
From Valeriy Onuchin:
- remove the GUI builder specific code from TGShutter,
TGTextEdit, TGTab, TGListBox constructors

Revision 15191 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 28 20:08:00 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 50162 byte(s)
Diff to previous 14814
From valeriy Onuchine:

- TImage, TASImage
 o Change return type of Vectorize method  from "void" to "Double_t*".
 o Implement FromWindow method under X11. This method allows to
   create "snapshot image" from any ROOT window or frame.

- config/Makefile.depend
 Add dependency of libGuiBld lib on libGraf.
 GuiBuilder uses internally TImage/TASImage class.

- GX11Gui.cxx

 X11 error handler was slightly modified.
 Many X11 errors lead to freezing X11 server and
 did not allow debugging.
 To prevent freezing, a "forced seg.violation" was added
 to the error handler.

 The usage of the new "feature" is the following:
 0. run "gdb root.exe"
 1. set "gDebug = (int)gVirtualX" - that activates the new error handling.
 2. run application which has X11 errors.

On X11 error the application was stopped by the "forced seg.violation".

 3. "gdb>bt" - backtrace the problem.



!!! A big list of changes in libGui initiated by gui builder development !!!

- TGButton.h, TGButton.cxx
  TGButton class:
   o SetDown methods removed from context menu.
   o SetEnabled method of context menu changed to TOGGLE.
     Setting fWidgetFlags was added.

- TGTextButton class
   o GetNormGC(), GetFontStruct() methods are introduced.
   o SetFont removed from context menu.
   o ChangeText(const char *title) was introduced and added to context menu.
   o fixed an error in SetFont method which set font globally instead of
     locally.
   o SavePrimitive - save text justification

- TGPictureButton
   o added getter method GetDisabledPicture()

- TGCanvas
   o added to GuiBuilder widgets palette.

- TGColorDialog
   o new methods:
     - TGColorPalette *GetPalette(),
     - TGColorPalette *GetCustomPalette(),
     - void SetCurrentColor(Pixel_t col)
   o new signal:
      - void ColorSelected(Pixel_t)
   o new parameter added to contructor "Bool_t wait".
     If "wait" is kTRUE, "gClient->WaitForUnmap" is called internally
     (normal/old usage). If "wait" is kFALSE - "gClient->WaitForUnmap"
     should be called by user.
   o few "usefull" colors added to "custom" palette.

- TGColorSelect
   o added to GuiBuilder widgets palette.

- TGComboBox
   o new methods:
     - SortByName - allows to sort combobox entries by names.
     - SetEnabled, IsEnabled.

- TGFontDialog was rewritten.
   o Previous version worked under win32 only,
      now it works on X11 also.
      It allows to select any font available on the system.

  o new parameter added to contructor "Bool_t wait".
     If "wait" is kTRUE, "gClient->WaitForUnmap" is called internally
     (normal/old usage). If "wait" is kFALSE - "gClient->WaitForUnmap"
     should be called by user.

  o new methods:
      void SetFont(TGFont *font);
      void SetColor(Pixel_t color);
      void SetAlign(Int_t align);
      void EnableAlign(Bool_t on = kTRUE);
      void UpdateStyleSize(const char *family);

 o new signals:
   - FontSelected(char *font)
   - AlignSelected(Int_t a)
   - ColorSelected(Pixel_t c)

- TGFrame
   o unused static member fgContextMenu removed.

- TGCompositeFrame
   o TGCompositeFrame::SetEditDisabled modified. It is used for setting
     fEditDisableXX attribute during gui buildind.

   o ChangeSubframesBackground helper method was introduced.

- TGGroupFrame
   o SetTextFont, SetTextColor methods were corrected for
     "local" changing of the font.

- TGWindow
   o kEditDisableKeyEnable added to EEditMode enum.
     If this flag is set - window can handle keyboard events during gui
     building.

- TGLabel
   o new methods:
    - GetNormGC, GetFontStruct
   o fixed bugs in setting label's "local" text font.
   o SavePrimitive - saving text justification added.

- TGListBox
  o new methods:
     - SortByName - allow to sort listbox entries by names.
     - new auxilary/internal class TGLBFrameElement created.
        It's used for ascending/descending sort of list box entries.

  o reimplemented methods:
   ChangeBackground, Layout, GetDefaultWidth

  o disable changing layout manager in SetLayoutManager method.
    Layout manager is not used for layout of list box.

- TGIcon
   o SetImagePath method was corrected.

- TGScrollBarElement
   o new methods:
     - SetEnabled, IsEnabled. These methods are used in enabling/disabling
       TGNumberEntry objects.

- TGScrollBar
   o new getter methods:
      - GetHead, GetTail, GetSlider
   o new signals:
      - PositionChanged, RangeChanged, PageSizeChanged
   o ChangeBackground was reimplemented.

- TGShutter
   o new methods:
      - AddPage, RemovePage, RenamePage
   o new signal Selected.
   o disable changing layout manager in SetLayoutManager method.
     Layout manager is not used for layout.

- TGView
   o disable changing layout manager by SetLayoutManager method.
     Layout manager is not used for layout.
   o ChangeBackground(Pixel_t col) method added which changes background
     color only of the canvas frame.

- TGNumberEntry
   o more options added to context menu.

- TGProgressBar
   o new getter/setter methods:
    - GetBarColor, GetNormGC, GetFontStruct, SetForegroundColor.

- TGTab
   o disable SetEditDisabled method to avoid changing "edit disable
     attribute".

- TGTextEdit, TGTextView, TGView
   o fixed bug - "character replace" mode didn't work
   o setting insert mode added to context menu.
   o setting "read only" mode added to context menu.
   o new method which enable/disable "popup menu for edit actions" added.
   o few corrections to SavePrimitive method.

- TGTextEntry
   o guibuilder specific code was removed.

-  TGuiBuilder.h, TGuiBldAction
   o possibility to set picture for context menu entry added.

- treeviewer/inc/TSessionViewer.h
  o forward declaration of TContextMenu class added.

Revision 14814 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 24 14:00:54 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGListBox.cxx
File length: 48807 byte(s)
Diff to previous 14698
From Valeriy Onuchin:
- minor changes

Revision 14698 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 13 15:32:35 2006 UTC (8 years, 9 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 48806 byte(s)
Diff to previous 14691
From Valeriy Onuchin:
- TGWindow
  o kEditDisableBtnEnable - bit intoduced, which says
    "window cannot be edited but can handle mouse button events".
    Typical usage is buttons in complex widgets like
    buttons in scroll bar, tab elements in TGTab etc.

- TGFrame
  o SetBgndColor(const char *hexvalue) method is introduced.
    This method allows to set frame background color as
    hexvalue e.g. "#0c0c0c", or by color name "white", "blue" etc.
    This method was added to guibuilder context menu.
- TGCompositeFrame
  o TGLayoutManager *GetLayoutManager() const.
    void SetLayoutManager(TGLayoutManager *l) made virtual.
    That hepled to fix bugs #15, #16 fronm guibuilder bugs list.
  o SetBgndColor(const char *hexvalue) is  overloaded in order
    to set background color for all subframes.

- TGListBox. Few methods added to context menu.
   o New method  NewEntry(const char *s = "Entry") -
     creates new entry placed next to selected entry.
   o void RemoveEntry(Int_t id = -1) - remove selected
     entry/entries from listbox
   o void SetBgndColor(const char *color) - overloaded to
      set background color for list box entries.
   o void SetMultipleSelections(Bool_t) - toggle on/off
     multiple selection

   o TGListBox widget was added to guibuilder widgte palette.

- TGMenu.
   o new method was introduced: CheckEntryByData(void *user_data)
     It allows to check/uncheck menu entry by specifying
     user data associated with entry.

- TGNumberEntry. Few methods added as submemu of context menu
  of guibuilder. That greatly simplifies paremeter selection.
  o Set fixed height for guibuilding.

- TGScrollBars, TGSliders. Fix height for horizontal bar/slider,
  fix width for vertical bar/slider when it is resized during
  guibuilding.

- TGTextEntry.
   o Several context menu methods are now selected via context
   submenu.
   o Set fixed height for guibuilding.

- TGComboBox. Changes made in order add
  TGComboBox widget to guibuilder.

Revision 14691 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 13 13:02:56 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TGListBox.cxx
File length: 46203 byte(s)
Diff to previous 13872
From Olivier and me:
- added new TGLineWidthComboBox entry "None" for the case line width = 0 according to the value of the last parameter in the constructor Bool_t none = kFALSE by default (needed by TGraph's exclusion zone GUI)
- follow up changes in TGListBox class

Revision 13872 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 20 08:52:26 2006 UTC (9 years ago) by antcheva
Original Path: trunk/gui/src/TGListBox.cxx
File length: 46141 byte(s)
Diff to previous 13278
From Bertrand:
- fixed SegV when running Spy.C and closing its window via the
  Window Manager;
- re-implemented the old behavior of a TGListBox with
  SetMultipleSelections(kTRUE): it is possible again to
  select several items by selecting the first one and
  moving the mouse while the mouse button is still pressed
  (thanks to Reiner Rohlfs).

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/TGListBox.cxx
File length: 44143 byte(s)
Diff to previous 13161
From Ilka:
code style fixes (comments, descriptions and identation).

Revision 13161 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 8 19:30:54 2005 UTC (9 years, 2 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 43907 byte(s)
Diff to previous 13156
Fix warnings about unused arguments "w" and "style"

Revision 13156 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 8 17:06:52 2005 UTC (9 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 43900 byte(s)
Diff to previous 12525
From Bertrand:
support listbox entries with icons in addition to text.

Revision 12525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 23 17:00:41 2005 UTC (9 years, 5 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 41214 byte(s)
Diff to previous 12247
From Bertrand:
Added several protections in TGXXX class constructors,
used when browsing ROOT classes.

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/TGListBox.cxx
File length: 41203 byte(s)
Diff to previous 11683
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 11683 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 28 08:30:57 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 40925 byte(s)
Diff to previous 11472
From Olivier:
- Line styles 5 to 10 are available in the line editor.

Revision 11472 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 1 13:51:31 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 40169 byte(s)
Diff to previous 11471
From Ilka:
The attached patch of Valeriy O. fixes the side effects introduced by the

last changes in TGListBox.cxx TGMenu.cxx of Valeri Fine.

Revision 11471 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 1 05:06:42 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 40156 byte(s)
Diff to previous 10954
From Valeri Fine:
Fix a few problems when setting the window background and visible
with the Qt version.

Revision 10954 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 19 16:09:29 2005 UTC (10 years ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 40194 byte(s)
Diff to previous 10934
From Valeriy:
- fix silly bug in TGCamvas dtor.
- add setting focus on button press in TGContainer, TGLBContainer.
  That fixes key handling activation problem under win32.

Revision 10934 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 17 15:33:16 2005 UTC (10 years ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 40159 byte(s)
Diff to previous 10915
From Valeriy Onuchin:
- update/redraw list box  container on TGListBox::Layout
  Thanks to Christian Stratova
reported this at http://root.cern.ch/phpBB2/viewtopic.php?t=1485

Revision 10915 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 13 20:03:32 2005 UTC (10 years ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 40064 byte(s)
Diff to previous 10904
From Valeriy Onuchin:
- final fix for limitation on number of list_box entries for win32

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/TGListBox.cxx
File length: 40043 byte(s)
Diff to previous 10876
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 10876 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 5 09:27:15 2005 UTC (10 years ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 39829 byte(s)
Diff to previous 10780
From Valeriy Onuchin:
 - add "tree" option to TGWindow::Print method. Calling  TGWindow::Print("tree")
   prints all parents/ascended windows for  this window.
 - add printing ascended windows to x11 error handler.
 - several fixes for listbox and combobox classes
   (drawing and  highliting combobox/listbox entries on pointer motion, etc. )
  Thanks to Andrea Bulgarelli.
 - fix in drawing, resizing TASImage reported by  Reiner Rohlfs

Revision 10780 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 14 17:36:57 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 39586 byte(s)
Diff to previous 10778
From valeriy Onuchin:
- small correction in drawing

Revision 10778 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 14 17:13:29 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 39593 byte(s)
Diff to previous 10753
From valeriy Onuchin
Fix for Qt

Revision 10753 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 10 17:35:58 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 39696 byte(s)
Diff to previous 10742
From valeriy Onuchin:
- "partial rollback". Do not use new drawing mechanism which allows to have
  list boxes with > 10000 entries under win32.

Revision 10742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 9 17:05:41 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 39697 byte(s)
Diff to previous 10726
From valeriy Onuchin:
- TGMdiMainFrame. Prevent double freeing of "current font".
- TRootGuiBuilder, TGuiBldDragManager fix  for segv. occured after
   creation, closing ROOT Gui Builder several times
- TGLBEntry - do not register window in fClient window list, because list box entries
  (like list view entries) are "virtual frames". That's speedup performance
  with large nummber of entries, e.g. 100000.

Revision 10726 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 8 17:13:41 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 39210 byte(s)
Diff to previous 10719
From Valeriy Onuchin:
- since TGLBContainer is now derived from TGContainer, it's possible to
  "reuse" key handling, e.g. arrow key navigation, "Page Up/Down", "Home/End" and
  invocation of "Search Dialog" via "Ctrl-F" (usefull when one has 100000 entries in list box;-)

Revision 10719 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 8 12:04:53 2004 UTC (10 years, 1 month ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 38696 byte(s)
Diff to previous 10718
fix up some comments.

Revision 10718 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 8 11:41:51 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 38611 byte(s)
Diff to previous 10702
From valeriy Onuchin:
- fix side effects of the last list box changes  in drawing of file combobox and in selection of list box.

Revision 10702 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 7 15:43:00 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 38238 byte(s)
Diff to previous 10700
From Valeriy Onuchin:
- fix for highlighting list box entries on mouse move.

Revision 10700 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 7 14:36:01 2004 UTC (10 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 38153 byte(s)
Diff to previous 10393
From Valeriy Onuchin:

- fix 32k pixmap limitation problem for list boxes, combo boxes.
  Now it's possible to have more than 20000 entries.

Revision 10393 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 22 15:21:19 2004 UTC (10 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 36654 byte(s)
Diff to previous 10389
From Valeriy:
- now TGViewPort Cleanup method deletes container frame.
- protect TGListBox against double deletion during hierarchical cleaning.
- minor mod in TGListTree. ClassImpQ is obsolete.
- protect TGLVEntry against double deletion during hierarchical cleaning.
- protect TRootEmbededCanvas against double deletion during hierarchical
  cleaning.
- protect TRootCanavs against double deletion during hierarchical cleaning.
- TGFontDialog. SetCleanup(kDeepCleanup) aka hierarchical cleaning is used
  in destructor.
  No segv. occured. That means all frames inside TGFontDialog are
  "consistent with hierarchical cleaning".
  Now TRootEmbededCanvas deleted without segv. during gui building.
- now TGuiBldQuickHandler is placed centered on parent when map_raised.
- TGuiBldDragManager. Double click on editable frame invokes resize/compact
  action of the main-editable frame.

Revision 10389 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 22 07:31:58 2004 UTC (10 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 36652 byte(s)
Diff to previous 10373
From Valeriy:
- TGFrame dtor, TGFrame::Cleanup I omitted a call fList->Remove(el);
  That caused a lot of problems. I appologize.
- TPad::Print(".gif") - added protection against warnings when loading
  libAfterImage. Typo fixed.
- added protection against double deletion in TGComboBox, TGView dtors.
- TGListBoxt::InsertEntry - correct init of TGFrameElement

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/TGListBox.cxx
File length: 36590 byte(s)
Diff to previous 9921
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 9921 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 6 14:12:51 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 36725 byte(s)
Diff to previous 9415
From valeriy Onuchin:
- final fix for TGGCPool::FreeGC(const TGGC *gct).
    o The statement in ged/src/TGedPatternSelect.cxx
      "delete fDrawGC;" replaced by "fClient->FreeGC(fDrawGC);"
      The rule is :
         any TGGC allocated via TGClient::GetGC
         must deallocated via TGClient::FreeGC (not by delete)
  o correction in TGLineLBEntry::Update method

Revision 9415 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 7 15:02:25 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 36666 byte(s)
Diff to previous 8638
From Valeriy Onuchin:
- keep history of draw option settings in browser
- add few usefull methods, i.e.
  TGCombobox::GetNumberOfEntries()
  TGLBEntry *TGListBox::GetEntry(Int_t id)

Revision 8638 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 21 10:13:51 2004 UTC (10 years, 9 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 36275 byte(s)
Diff to previous 8634
small corrections in comments.

Revision 8634 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 21 08:36:30 2004 UTC (10 years, 9 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 36238 byte(s)
Diff to previous 8588
From Valeriy Onuchin:
- selected TGLineLBEntry is drawn with white(default) foreground.

Thanks to  Ilka proposal.

Revision 8588 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 15 10:13:41 2004 UTC (10 years, 9 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 35941 byte(s)
Diff to previous 8326
fix several white space issues. Everybody, please use editors that strip spaces and
tabs at end of lines.

Revision 8326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 4 11:47:40 2004 UTC (10 years, 10 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 35949 byte(s)
Diff to previous 8293
From Valeriy:
fix problem with setting line style via new editor.

Revision 8293 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 23 23:52:00 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 35946 byte(s)
Diff to previous 8261
From Valeriy Onuchin:
- TRootCanvas: added protection against NULL fEditor pointer in destructor
- TGLineLBEntry code improved (previous was driven by the problem with
   setting line GCs under windows)

Revision 8261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 19 15:36:46 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 36313 byte(s)
Diff to previous 8233
From Valeriy
- ged works on linux OK
- OK (except line styles) on windows

Revision 8233 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 20:13:43 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 39699 byte(s)
Diff to previous 7781
The following mega patch is from Ilka. She has integrated and further
developed the original classes from Marek Biskup (summer student last year)..
Valeriy Onuchin has also contributed by extending/adapting existing
GUI classes.

Very first prototype of the new pad editor is available for testing and
feedbacks. It was started by Marek Biskup as his project during the
Summer Student Program 2003.
The new pad editor helps ROOT GUI to become closer to the well known
application GUIs; to be user friendly, having easier and faster access
to the ROOT graphics, to be more intuitive. It is embedded in the
TCanvas window every canvas has an editor.
The editor frame is on the left side of the canvas window. The user can
show it via Edit/Editor menu selection. The editor frame contains a set
of picture buttons for selecting well known graphical primitives for
drawing; below them there are widgets for attribute changing. When an
object is selected its name appears with a set of options available for
changing: fill style and color; line style, width and color; text font,
size and style; marker style, size and color.

New Classes:
TGFontTypeComboBox - a combo box with fonts for a choice;
TGLineWidthComboBox - a combo box with line widths;
TGLineWidthLBEntry - list box entry for different line widths
TGLineStyleComboBox - a combo box with line styles;
TGLineStyleLBEntry - list box entry for a line style

TGedEditor - the new editor containing tool-box and attribute frames of
the selected object;
TGedToolBox - frame with picture buttons for a primitive drawing

TGedAttFrame - a base class for all attribute frames
TGedAttNameFrame - a frame showing the selected object name (if exists)
TGedAttFillFrame - a frame showing the fill attributes
TGedAttLineFrame - a frame showing the line attributes
TGedAttTextFrame - a frame showing the text attributes
TGedAttMarkerFrame - a frame showing the marker attributes

TGedPatternFrame - popup window for fill pattern selection
TGedPatternSelector - a button for pattern selection
TGedSelect - service class for selecting
TGedPopup - service class for popup attribute window
TGPatternSelect - a button for selected pattern
TGedMarkerPopup - popup window for marker selection
TGedMarkerSelect - a button for selected marker

Several changes are made in TCanvas, TPad, TRootCanvas to adapt them for
the new GUI interface. The old GUI interface is kept and it can be used
too. The class TPadEditorOld provides its functionality.

Revision 7781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 18 15:14:29 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 32602 byte(s)
Diff to previous 7779
From Valeriy Onuchin:
- TGListBox. Reset GetSelected when setting OFF the multiple selection.

Revision 7779 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 18 13:17:15 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 32621 byte(s)
Diff to previous 7643
From Valeriy Onuchin:

- TGListBox class:
  generation Selected signals  added when SetMultipleSelections(kTRUE)

Revision 7643 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 25 08:44:53 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 32589 byte(s)
Diff to previous 7547
Suggestion from Bertrand to replace kPointerMotionMask by kButtonMotionMask

Revision 7547 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 7 22:47:53 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/gui/src/TGListBox.cxx
File length: 32589 byte(s)
Diff to previous 7520
Add missing parenthesis in expressions like
      if (GetOptions() == (kSunkenFrame | kDoubleBorder)) {

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/TGListBox.cxx
File length: 32587 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/src/TGListBox.cxx
File length: 30992 byte(s)
Diff to previous 6443
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 6443 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 14 14:13:51 2003 UTC (11 years, 9 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 30601 byte(s)
Diff to previous 3047
remove compiler warning.

Revision 3047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 16 17:28:35 2001 UTC (13 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 30599 byte(s)
Diff to previous 781
change kPointerMotionMask to kButtonMotionMask.

Revision 781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 17 12:34:53 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 30590 byte(s)
Diff to previous 773
added signal/slot capability for most widgets. TGWidget now derives from
TQObject.

Revision 773 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 15 13:46:40 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 29726 byte(s)
Diff to previous 755
let TGListBox derive from TGWidget.

Revision 755 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 12 16:53:38 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 29727 byte(s)
Diff to previous 714
added support for wheel mice. Via the mouse wheel you can scroll most
windows that have a scrollbar. How to enable it for your own containers
is shown in guitest (see TileFrame).

Revision 714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 4 23:40:08 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 29150 byte(s)
Diff to previous 685
remove some compiler warnings and replace gVirtualX->SelectInput() calls
by TGFrame::AddInput().

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/TGListBox.cxx
File length: 29195 byte(s)
Diff to previous 545
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 545 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 31 14:21:00 2000 UTC (14 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGListBox.cxx
File length: 28853 byte(s)
Diff to previous 3
optimize listbox item removal.

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/TGListBox.cxx
File length: 28650 byte(s)
Copied from: branches/rdm/gui/src/TGListBox.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/TGListBox.cxx
File length: 28650 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