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

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

Parent Directory Parent Directory


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

Revision 43709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 12 11:04:01 2012 UTC (2 years, 9 months ago) by rdm
File length: 11113 byte(s)
Diff to previous 39646
remove any references to VMS.

Revision 39646 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 9 17:58:54 2011 UTC (3 years, 7 months ago) by rdm
File length: 11453 byte(s)
Diff to previous 38843
don't use TString::Data() explictly to keep code cleaner.

Revision 38843 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 14 12:13:31 2011 UTC (3 years, 9 months ago) by bellenot
File length: 11905 byte(s)
Diff to previous 33926
Use the TGClient/TGResourcePool to set-up the style instead of using gEnv->GetValue() from TGMenu

Revision 33926 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 15 15:35:40 2010 UTC (4 years, 7 months ago) by bellenot
File length: 11695 byte(s)
Diff to previous 23115
Replace fixed size char arrays by TStrings, to avoid possible buffer overflow (coverity)

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: 11584 byte(s)
Copied from: trunk/gui/src/TGResourcePool.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/TGResourcePool.cxx
File length: 11584 byte(s)
Diff to previous 20411
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 20411 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 19 12:37:58 2007 UTC (7 years, 3 months ago) by rdm
Original Path: trunk/gui/src/TGResourcePool.cxx
File length: 11584 byte(s)
Diff to previous 19826
remove conditional around include of RConfigure.h:

#ifdef R__HAVE_CONFIG
#include "RConfigure.h"
#endif 

Having this conditional caused RConfigure.h to be missing from the .d
files and hence these files would not be recompiled after re-configuring
using --prefix.

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/TGResourcePool.cxx
File length: 11613 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/TGResourcePool.cxx
File length: 11668 byte(s)
Diff to previous 18111
remove :$ from tag line

Revision 18111 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 01:07:53 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/gui/src/TGResourcePool.cxx
File length: 11678 byte(s)
Diff to previous 16796
replace -adobe- in font spec by generic -*-.

Revision 16796 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 16 17:18:32 2006 UTC (8 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGResourcePool.cxx
File length: 11706 byte(s)
Diff to previous 14985
Changes to get rid of the config.h and HAVE_CONFIG define. These were way
too trivial (just do a locate config.h to see how many there are):
- replace occurances of config.h by RConfigure.h
- add #warning in config.h that is should not be used
- change HAVE_CONFIG to R__HAVE_CONFIG

Revision 14985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 10 14:06:06 2006 UTC (8 years, 8 months ago) by rdm
Original Path: trunk/gui/src/TGResourcePool.cxx
File length: 11699 byte(s)
Diff to previous 13356
use TSystem::HomeDirectory() instead of TSystem::Getenv("HOME").

Revision 13356 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 24 23:30:06 2005 UTC (9 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGResourcePool.cxx
File length: 11695 byte(s)
Diff to previous 13278
Remove code of obsolete win32old version. Cleanup source from the many
GDK_WIN32 ifdef's. Fixes also Gordon's problem of TInterpreter which
depended on GDK_WIN32.

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

Revision 12077 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 18 09:58:57 2005 UTC (9 years, 7 months ago) by brun
Original Path: trunk/gui/src/TGResourcePool.cxx
File length: 11710 byte(s)
Diff to previous 8228
From Bertrand Bellenot
Suppression of font settings differences between win32 and x11.

Revision 8228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 16:17:33 2004 UTC (10 years, 11 months ago) by rdm
Original Path: trunk/gui/src/TGResourcePool.cxx
File length: 12553 byte(s)
Diff to previous 7757
From Valeriy:
use gClient->GetDefaultRoot() instead of GetRoot(). This allows the widgets
to be embedded but ensures popups to still be a child of the real X11 root
window.

Revision 7757 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 15 09:44:21 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGResourcePool.cxx
File length: 12539 byte(s)
Diff to previous 7755
From valeriy Onuchin:

- add Gui.IconPath from root resource file to icon_path under win32gdk

Revision 7755 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 15 08:54:29 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/gui/src/TGResourcePool.cxx
File length: 12479 byte(s)
Diff to previous 6663
From Valeriy Onuchin


- few improvements from my todo list:
   o TGButton, TGLabel
       SetTextColor, SetFont methods added.
       Font, color can be changed globally (for every frame of some type),
       or locally (for some particular frame) - default option
   o TGNumberEntry
       Accelerate the speed for changing numbers when button is
       permanently pressed
  o TGPicture (inspired by Ilka's  recent changes)
       for picture specified by file name mods added:
       pname = gSystem->ExpandPathName(gSystem->UnixPathName(pname.Data()));
  o TGResourcePool
       add current directory to the icon_path for WIN32GDK
  o  cosmetic changes in WorldMap.C example
        This tutorial is now working under win32gdk
  o TGWin32, TGWin32ProxyBase
       Anather try to fix a problem reported by Ed Oltman recently

Revision 6663 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed May 28 11:55:32 2003 UTC (11 years, 8 months ago) by rdm
Original Path: trunk/gui/src/TGResourcePool.cxx
File length: 12419 byte(s)
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

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