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

Log of /trunk/gui/gui/src/TRootEmbeddedCanvas.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: 16658 byte(s)
Diff to previous 38343
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 38343 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 9 15:49:34 2011 UTC (3 years, 10 months ago) by bellenot
File length: 16608 byte(s)
Diff to previous 35582
- Replace "ACP" to "ALP" to be compatible with the double-click default option
- Remove "ALP" option from the browser

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: 16608 byte(s)
Diff to previous 34390
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 34390 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 13 09:55:39 2010 UTC (4 years, 6 months ago) by bellenot
File length: 16479 byte(s)
Diff to previous 34286
From Timur: Correct behavior of OpenGL initialization and fix resource leak

Revision 34286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 20:38:57 2010 UTC (4 years, 6 months ago) by rdm
File length: 16547 byte(s)
Diff to previous 32725
fix format errors related to TString::Form(), TString::Format(), Form()
and Printf().

Revision 32725 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 24 08:11:16 2010 UTC (4 years, 10 months ago) by bellenot
File length: 16560 byte(s)
Diff to previous 32320
Make sure the pad is highlighted when passing over it during drag and drop operations

Revision 32320 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 10 14:57:14 2010 UTC (4 years, 11 months ago) by bellenot
File length: 16484 byte(s)
Diff to previous 29971
Drag and drop improvements for images + protection against possible null pointers.

Revision 29971 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 28 19:42:04 2009 UTC (5 years, 4 months ago) by bellenot
File length: 16266 byte(s)
Diff to previous 28464
Allow to use <shift> key modifier (as in regular TRootCanvas). Used by e.g. GL in Pad

Revision 28464 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 6 12:37:21 2009 UTC (5 years, 8 months ago) by brun
File length: 15766 byte(s)
Diff to previous 27475
From Timur:
New GL interface for TPad (to be documented in next check-in)

Revision 27475 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 10:04:21 2009 UTC (5 years, 11 months ago) by bellenot
File length: 15461 byte(s)
Diff to previous 23115
Replace Form() by TString::Format()

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

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

Revision 21299 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 10 15:54:16 2007 UTC (7 years, 1 month ago) by brun
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 15378 byte(s)
Diff to previous 20933
From Bertrand:
- Allow to drag and drop ps, eps and pdf files in TRootCanvas and
TRootEmbeddedCanvas.

Revision 20933 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 17:11:22 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 15261 byte(s)
Diff to previous 20913
From Bertrand:
fix naming conventions, after acronym, next word starts with upper case.

Revision 20913 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 20 09:27:13 2007 UTC (7 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 15261 byte(s)
Diff to previous 20882
From Bertrand:
Added handling TKey objects in HandleDNDdrop.

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/TRootEmbeddedCanvas.cxx
File length: 15018 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/TRootEmbeddedCanvas.cxx
File length: 15018 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/TRootEmbeddedCanvas.cxx
File length: 15084 byte(s)
Diff to previous 19419
remove :$ from tag line

Revision 19419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 20 14:28:22 2007 UTC (7 years, 6 months ago) by rdm
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 15094 byte(s)
Diff to previous 18714
From Bertrand:
work-around for gVirtualX->GetName() returning "" on Windows.

Revision 18714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 9 15:03:34 2007 UTC (7 years, 8 months ago) by antcheva
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 14986 byte(s)
Diff to previous 18620
Added new data member fDNDTypeList for drag & drop type settings to
avoid memory leak (fixes Savannah bug 26190)

Revision 18620 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 29 07:06:48 2007 UTC (7 years, 8 months ago) by brun
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 14939 byte(s)
Diff to previous 18557
From Bertrand:
 - Allow to drag and drop any object that has a default constructor
   (required by TBufferFile) but is not a TFolder and not a TClass
   (to avoid dragging ROOT class from list of classes) from TBrowser.
 - Added check (obj->IsA()->GetMethodAllAny("Draw")) in method
   HandleDNDdrop() of TRootCanvas and TRootEmbeddedCanvas
   before calling obj->Draw().

Revision 18557 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 23 10:40:05 2007 UTC (7 years, 9 months ago) by brun
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 14878 byte(s)
Diff to previous 18551
From Bertrand:
- Use also TUrl for uri-list format in TRootCanvas::HandleDNDdrop
  and in TRootEmbeddedCanvas::HandleDNDdrop

Revision 18551 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 22 15:48:59 2007 UTC (7 years, 9 months ago) by brun
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 14820 byte(s)
Diff to previous 18542
From Bertrand:
Added ability to drag and drop picture files from TBrowser to TCanvas and TRootEmbeddedCanvas.

Revision 18542 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 20 15:07:46 2007 UTC (7 years, 9 months ago) by brun
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 13888 byte(s)
Diff to previous 18536
From Bertrand:
Fix coding conventions.

Revision 18536 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 19 21:07:02 2007 UTC (7 years, 9 months ago) by brun
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 13752 byte(s)
Diff to previous 17480
From Bertrand:
Added drag and drop support for Linux (Xdnd) and Windows (Clipboard).
It is now possible to drag an histogram (or any other graphical object)
from an opened file in TBrowser to any TCanvas.
It is also possible to drag a text file from TBrowser to a TGTextView
or TGTextEdit widget (i.e. in TGTextEditor).
On Linux, it is even possible to drag from a Root application to another
one, or to drag a text file (i.e. a macro) from the ROOT browser to an
external editor (i.e. Kate).
On Windows, drag and drop only works within the same ROOT application
(for the time being).

Revision 17480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 16:41:14 2007 UTC (8 years ago) by antcheva
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 11696 byte(s)
Diff to previous 15849
From Timur:
Added check for gStyle->GetCanvasPreferGL() in TRootEmbeddedCanvas
constructor in a way it is done in TRootCanvas. This change enables GL
rendering in TRootEmbeddedCanvas objects.

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/src/TRootEmbeddedCanvas.cxx
File length: 11056 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/src/TRootEmbeddedCanvas.cxx
File length: 11813 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 15253 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 31 09:02:38 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 11801 byte(s)
Diff to previous 15191
- fixed coding conventions violations

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/TRootEmbeddedCanvas.cxx
File length: 11746 byte(s)
Diff to previous 15173
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 15173 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 24 18:20:12 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 11737 byte(s)
Diff to previous 15134
Fix coding conventions violations

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/src/TRootEmbeddedCanvas.cxx
File length: 11690 byte(s)
Diff to previous 14461
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 14461 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 29 08:09:43 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 10996 byte(s)
Diff to previous 14449
From Valeriy Onuchin:
- in TGCompositeFrame::HandleDragEnter
  Change a highlight color for frame which could
  accept a drop.

- in TGMdiFrame destructor,
  Cleanup method added to delete children frames

- in TRootEmbeddedCanvas constructor

   fEditDisabled flag changed from kEditDisable to
   kEditDisableGrab. That allows to fix problems
   with editting embedded canvas during "guibuilding".

Revision 14449 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 28 16:26:47 2006 UTC (8 years, 9 months ago) by antcheva
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 10987 byte(s)
Diff to previous 13631
From Valeriy Onuchin:
- added protections required by the GUI builder

Revision 13631 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 11 10:36:41 2005 UTC (9 years, 1 month ago) by rdm
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 10914 byte(s)
Diff to previous 13278
add kPointerMotionMask to GrabButton events to facilitate TGQt layer.

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

Revision 12457 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 10 14:00:34 2005 UTC (9 years, 5 months ago) by brun
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 10890 byte(s)
Diff to previous 10414
From Bertrand:
Allow to embed a TCanvas (i.e from a ROOT file) into a
TRootEmbeddedCanvas.

Revision 10414 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 26 09:39:23 2004 UTC (10 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 10665 byte(s)
Diff to previous 10402
From Valeriy:
- Disable editting  GuiBuilder popup menus. That fixes undesirable effect
  discribed by Ilka "2-click on the main frame-->Window menu/Cascade-->click
  on the main frame title Properties tab shows the popup menu frame21
  as selected one".
- Fix handling  hot keys in GuiBuilder menu bar, menus, e.g. Alt-F, Alt-W.
- TGMdiMainFrame::SetCurrent(TGMdiFrame*) signal added, which
  emittied when mdi frame is chosen/map_raised by mouse clicking on mdi title.
  That allows  to fix an effect discribed by Ilka
   "Click on a main frame title bar does not make this frame selected".
- Fix "Ctrl-O" handling in GuiBuilder. Previously it had "Save As" dialog
  title instead of "Open ..".
- Forbid Ctrl-S handling if there is no active mdi frame. That fixes an
  segv. violation discribed by Ilka when one wants to "SaveAs" GuiBuilder
  itself.
- Fix name clashes when TRootEmbeddedCanvas saved. It was discovered
  when Cut&Paste embedded canvases during gui building.

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/TRootEmbeddedCanvas.cxx
File length: 10737 byte(s)
Diff to previous 10393
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 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/TRootEmbeddedCanvas.cxx
File length: 10704 byte(s)
Diff to previous 10309
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 10309 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 14 07:23:06 2004 UTC (10 years, 3 months ago) by brun
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 10668 byte(s)
Diff to previous 10303
From Valeriy Onuchin;

- Protect TRootEmbeddedCanvas::SavePrimitive to avoid object's name clashes.
  Such clash happens when TCanvas's name is the same as the TRootEmbeddedCanvas name,
  which contains this TCanvas.
  it is a quite typical case to assign canvas name to some unique name  and
  it is convenient to asign it to the TRootEmbeddedCanvas's name (which is
  unique). This will also make more easy to find in which TRootEmbeddedCanvas
  some canvas is embedded.

- correct Help-"About ROOT Gui Builder" according to ROOT licence

Revision 10303 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 13 12:24:08 2004 UTC (10 years, 3 months ago) by brun
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 10561 byte(s)
Diff to previous 10118
From Valeriy Onuchin:

- TRootEmbeddedCanvas added to GuiBuilder widgets  palette
- slightly modified TRootEmbeddedCanvas::SavePrimitive to avoid name clash
- TGFrame::HandleEvent minor mod to activate guibuilding
- correct TGCanvas::MapSubwindows. Previous implementaion always mapped
  scrollbars even if they must be unmapped

Revision 10118 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 21 11:18:19 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 10540 byte(s)
Diff to previous 8335
From Valeriy Onuchin:

- small corrections in default constructor of TRootEmbeddedCanvas
- TGStatusBar, TGHProgressBar added to guibuiler

Revision 8335 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 8 08:04:25 2004 UTC (10 years, 10 months ago) by rdm
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 10448 byte(s)
Diff to previous 7547
report x,y of kMouseEnter and kMouseLeave events, previously x,y was always
0,0 for these events.

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/TRootEmbeddedCanvas.cxx
File length: 10224 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/TRootEmbeddedCanvas.cxx
File length: 10222 byte(s)
Diff to previous 7381
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 7381 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 30 07:38:58 2003 UTC (11 years, 3 months ago) by brun
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 8824 byte(s)
Diff to previous 2689
From Ilka: a mod forgotten in yesterday's commit

Revision 2689 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 15 13:51:19 2001 UTC (13 years, 5 months ago) by rdm
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 8826 byte(s)
Diff to previous 1893
fCanvas was not initialzed to 0 and add protection in methods against
fCanvas possibly being 0.

Revision 1893 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 4 13:38:38 2001 UTC (13 years, 9 months ago) by rdm
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 8606 byte(s)
Diff to previous 1608
in HandleContainerKey() pass now also keysym as 3rd argument to
TCanvas::HandleInput(). This allows one to check for non-ascii keys
(like up, down, etc. keys). For the value of the keysym see KeySymbols.h.

Revision 1608 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 14 15:39:35 2001 UTC (13 years, 11 months ago) by rdm
Original Path: trunk/gui/src/TRootEmbeddedCanvas.cxx
File length: 8601 byte(s)
Diff to previous 714
handle again graphics exposure events. Was working before but during some
API change the graphics exposure option was accidentally left out.

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/TRootEmbeddedCanvas.cxx
File length: 8589 byte(s)
Diff to previous 3
remove some compiler warnings and replace gVirtualX->SelectInput() calls
by TGFrame::AddInput().

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