Dana Jansens
a0dbb0e13f
couple of LinkedLists converted to STL lists in BScreen
...
changed teh calls to XSetInputFocus. Using the root window as the fallback when there is nothing to focus instead of the toolbar. Also, always using 'RevertToPointerRoot' instead of sometimes 'RevertToParent'
2002-05-12 01:23:48 +00:00
Dana Jansens
9f9cdf1194
fixes for using ostrstream in gcc3. have to unfreeze the string more. annoying.
...
save workspace names/count properly
2002-05-10 07:13:40 +00:00
Dana Jansens
098fae70a6
better gcc3 compat. using ostrstream again. and using namespace std;
...
some focus changes. workspace contains a focused window instead of openbox class. this fixes a seg
2002-05-10 02:58:09 +00:00
Dana Jansens
8956328138
gcc 3 compatibility, converted strstreams to stringstreams
2002-05-07 15:34:46 +00:00
Dana Jansens
ba832151d0
better toolbar strftime size/padding fix
2002-05-01 22:30:44 +00:00
Dana Jansens
73f0a90993
BScreen::resource.root_command wasnt being initialized
2002-05-01 22:21:12 +00:00
Dana Jansens
75c0a76a53
changed external window interface to only have an area(), no size() and origin(), since all of their values are also in area()
...
changed toolbar external inteface to have an area, no more getX/Y/Width/Height
2002-04-21 18:52:28 +00:00
Dana Jansens
18499a6920
specify the std:: namespace for the ostrstreams.
2002-04-21 02:17:34 +00:00
Dana Jansens
de7a567d5b
on reconfigure, if an option isn't specified in the rc file, then it will revert to its default value instead of staying at its current value.
2002-04-20 18:24:12 +00:00
Dana Jansens
940c1f614f
temprary fix for the memleaks in ::load() and ::set* when using ostrstreams. Need to find a better solution for strings than std::string and ostrstream, or else put up with memory leaks all over the place.
2002-04-19 06:51:08 +00:00
Dana Jansens
307da13fff
menus update their values when they are reconfigure()d.
...
the screen, toolbar and slit rc values are reloaded in BScreen::reconfigure() before the menus.
the toolbar and slit rc values are explicitly loaded in their constructors, as is BScreen's.
2002-04-17 23:07:11 +00:00
Dana Jansens
9cd9d92bb1
configuration changes "done"!!
...
on start, the config file is read entirely off the disc, and missing values are assigned defaults.
the config file is immediately written back to the disk to populate missing defaults in the file.
any time a config option is changed the control, the config file is re-written with the change.
choosing reconfig will reload the current config file on the disc.
on shutdown, nothing is written to the config file.
2002-04-17 08:30:55 +00:00
Dana Jansens
66c879bd5c
Toolbar saves its settings as their changed
...
Main config's Hide Toolbar option is also saved when it is changed
Removed 2 debug couts from Slit
2002-04-17 03:44:09 +00:00
Scott Moynes
82e61c015f
fixed HAVE_STRING_H introduced from some parrallel development. blast
2002-04-16 20:30:53 +00:00
Scott Moynes
29fff5f56f
Added a runtime option for hiding the toolbar totally. Will be cleaner
...
later. Stay tuned.
2002-04-16 20:22:01 +00:00
Dana Jansens
509c88f501
removed unneeded #include <X11/Xutil.h>
2002-04-16 14:55:38 +00:00
Dana Jansens
251dd4034f
get rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks for individual headers instead
2002-04-16 06:25:00 +00:00
Dana Jansens
44e3582d5e
BScreen (ScreenInfo) now contains a size() instead of a getWidth/getHeight
2002-04-14 18:48:32 +00:00
Dana Jansens
72af8cea6a
using some references instead of pointers where possible in Screen, ScreenInfo, Slit, Toolbar, and Netizen
2002-04-14 13:58:17 +00:00
Dana Jansens
9ea141105e
only add one extra space to pad the clock in the toolbar
2002-04-14 13:34:53 +00:00
Dana Jansens
351f1d0331
Using some references instead of pointers for the menus.
2002-04-14 11:37:22 +00:00
Dana Jansens
bb1a97327b
changing the fix for fonts clipping in the titlebar. broken fonts (e.g. gelly caused problems in the old method.
2002-04-14 08:20:56 +00:00
Dana Jansens
8d3c97389f
save_rc() using the obResource class to save blackbox's configuration.
...
renamed BScreen::getCount to BScreen::getWorkspaceCount.
2002-04-12 06:05:04 +00:00
Dana Jansens
dfc5f03458
Initial revision
2002-04-11 03:20:38 +00:00