Commit graph

33 commits

Author SHA1 Message Date
Dana Jansens
83b6c9bfa0 sync with bb-cvs 2002-07-26 08:37:15 +00:00
Dana Jansens
6253730ef0 don't worry abou overlapping the toolbar if there is none. 2002-07-25 22:35:55 +00:00
Dana Jansens
a0f9b93d5b indenting 2002-07-22 16:37:49 +00:00
Dana Jansens
df7120d5ff new slit placement. yea its kinda weak. this can get improved late if people complain. slit is going away anyways for 3.0. 2002-07-21 10:08:57 +00:00
Dana Jansens
ed3e597500 don't cast char*'s to string's needlessly 2002-07-07 11:17:44 +00:00
Dana Jansens
300491ce5a sync with bb-cvs 2002-07-07 10:27:06 +00:00
Dana Jansens
e15e4a9e03 make iconified windows uniconify on an XMapRequestEvent.
sync with blackbox cvs.
2002-07-05 01:24:32 +00:00
Dana Jansens
1766453ca2 sync with blackbox-cvs 2002-06-21 01:06:29 +00:00
Dana Jansens
0305cbdc3a add Configuration class for generic configuration data load/save-ing.
use Configuration class throughout code. no longer save rc file on exit, save when any options are changed.
2002-05-26 20:25:38 +00:00
Dana Jansens
8794d357e6 import from bb-cvs
added slit and enable-clobber defines back in Makefile.am
2002-05-25 00:29:44 +00:00
Dana Jansens
ae3dc273c4 new i18n class using overloaded operator() instead of getMessage() 2002-05-16 22:35:59 +00:00
Dana Jansens
ae093dba2f make a new autoRaiseDelay value take effect without having to restart 2002-05-16 09:24:40 +00:00
Dana Jansens
5d6413d495 fix for slit direction menu not reconfiguring properly 2002-05-16 05:59:02 +00:00
Dana Jansens
1b1efab489 compile with -Wall -W -pendantic when --enable-debug is set. 2002-05-14 19:28:34 +00:00
Dana Jansens
ebdf25bf67 removed all 'using namespace std;' calls. 2002-05-12 21:15:40 +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
fb96e47f23 removed debugging couts 2002-04-27 19:24:09 +00:00
Dana Jansens
b7d0a77d16 add std:: to the vector typedef in Basemenu
converted slit to use a std::list instead of LinkedList
2002-04-27 18:53:59 +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
Dana Jansens
73a3c979b3 Slit loads its own settings and saves them as they are changed
added an assert in Resource
2002-04-16 23:50:53 +00:00
Dana Jansens
25cbe08cb6 Slit has an area Rect now, and returns Rect, Size, and Points instead of getX/Y and getWidth/Height. 2002-04-14 19:30:38 +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
351f1d0331 Using some references instead of pointers for the menus. 2002-04-14 11:37:22 +00:00
Dana Jansens
dfc5f03458 Initial revision 2002-04-11 03:20:38 +00:00