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
Dana Jansens
dfc5f03458
Initial revision
2002-04-11 03:20:38 +00:00