Dana Jansens
aad50046de
synched with bb-cvs. couple bug fixes.
2002-06-05 04:20:08 +00:00
Dana Jansens
1775e867c4
sync with bb-cvs
2002-06-01 17:54:32 +00:00
Dana Jansens
23640740ca
sync with bb cvs
2002-05-30 04:35:22 +00:00
Dana Jansens
12fcb33bfa
re-added UnderMouse Placement
...
added NLS support in the new configure system.
2002-05-28 12:39:23 +00:00
Dana Jansens
59cea4f2d3
save workspace names properly with the new Configuration class.
2002-05-26 20:51:12 +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
67b4df1eff
merge the sticky window fix from 1.2.
2002-05-23 14:27:52 +00:00
Dana Jansens
ae3dc273c4
new i18n class using overloaded operator() instead of getMessage()
2002-05-16 22:35:59 +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
f00ed578ba
new focus code! working better than ever!
2002-05-14 07:53:22 +00:00
Dana Jansens
e81b9d6a72
fix for changing window buttons order. destroy them properly when they no longer exist and recreate them if they dont exist yet
2002-05-14 00:47:16 +00:00
Dana Jansens
6d16679486
focus code updates
2002-05-13 00:23:59 +00:00
Dana Jansens
57fb41c806
converted the remaining LinkedLists in Screen to STL objects.
2002-05-12 09:15:09 +00:00
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
b424a72384
converted from LinkedList to STL vector and list
2002-05-11 05:33:49 +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
445e28af9a
windows at positions x<0 or y<0 are no longer ignored in the placing code
2002-05-02 04:44:19 +00:00
Dana Jansens
22f8550d45
fixed col placement
2002-04-29 20:29:10 +00:00
Dana Jansens
8ef0610e90
added ClickMouse window placement policy
2002-04-28 12:12:24 +00:00
Dana Jansens
ad7f61121c
new row/col Smart Placement from colophon
2002-04-28 01:05:12 +00:00
Dana Jansens
20cd70c466
added UnderMouse windwo placement.
2002-04-28 00:11:19 +00:00
Dana Jansens
07281446ea
better cascadePlacement. uses screen.availableArea().
2002-04-27 21:15:00 +00:00
Dana Jansens
e5685e3cfd
added BScreen::availableArea() which returns a rect specifying where windows can be placed on the screen, and what area they can fill when maximized
2002-04-27 19:25:20 +00:00
Dana Jansens
1a44d80843
Rolled back to the old row and column smart placement so we can get a 1.0.0 release out the door.
2002-04-23 19:59:44 +00:00
Dana Jansens
6a36505f8a
even more fixes for maximizing/placement with hidden slit/toolbar/etc
2002-04-22 23:00:57 +00:00
Dana Jansens
2809005ab0
maximize and placeWindow now behave properly when the slit is hidden
2002-04-22 22:24:15 +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
b8dd077ab0
some placement fixes from colophon.
2002-04-21 17:54:51 +00:00
Dana Jansens
7eb8d6966c
new row and column placement, using a modified bestfit. These don't work right yet, nor does bestfit, but they are coming.
2002-04-21 07:58:46 +00:00
Dana Jansens
e1b78a1f84
even better bestfit placement. way to go colophon!
2002-04-21 03:36:09 +00:00
Dana Jansens
32951060f6
bestfit placement now honors the left->right and top->bottom options for window placement.
...
fix for the placement config menu.
2002-04-21 02:02:27 +00:00
Dana Jansens
8e083798b5
better logic to not place windows over the slit and toolbar
...
maximize uses this same logic to not maximize over the toolbar *and the slit*
2002-04-20 19:53:19 +00:00
Dana Jansens
ca3bc6421b
changes to bestfit from ruhi. takes windows sizes into account properly, and places windows 1 borderwidth apart on all sides, while still placeing up against the edge of the screen.
2002-04-20 18:30:47 +00:00
Dana Jansens
fa90396976
optimized the finding-the-slit-position code in positionWindow
2002-04-18 18:49:22 +00:00
Dana Jansens
13ac6f2abd
remove debugging couts
2002-04-18 07:28:12 +00:00
Dana Jansens
f27fe4edbb
temporary solution to avoid placing windows over the slit and toolbar, until NETWM is in effect.
2002-04-18 07:26:05 +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
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
897a9711d6
applied Ruhi's cleanup patch. moves colSmartPlacement into its own function
...
using Geomtry objects instead of integer pairs in all of the placeWindow code now
2002-04-16 01:10:53 +00:00
Scott Moynes
adcdf31702
added some consts to the cascade code
2002-04-15 15:45:11 +00:00
Scott Moynes
df9d0c891a
Added a fallback for Best Fit to cascade. Also, moved cascade to its own
...
function. May not be needed.
2002-04-15 02:37:18 +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
bea6e5f78d
changed OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return Origins and Sizes and Rects, in fuctions like size(), origin(), and area().
2002-04-14 18:28:11 +00:00
Dana Jansens
3dcebcf56c
Added Util.h, which contains only an ASSERT macro for now
2002-04-14 15:57:07 +00:00
Dana Jansens
9bf23ee332
using a Screen reference instead of pointer in Workspace
2002-04-14 14:20:02 +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
424d476f7c
added first revision of the BestFit placement type.
...
moved RowSmart placement type out of placeWindow() to its own function like bestFit. Will continue moving other placement types into their own functions.
2002-04-14 01:11:51 +00:00