Dana Jansens
5e3ca8e665
don't click-to-place windows when they specify a position
2002-04-28 19:14:54 +00:00
Dana Jansens
4852193a57
properly handle placing a window while another window is still placing.
2002-04-28 19:09:25 +00:00
Dana Jansens
1789f16af9
if user is moving a window and switches workspaces, stop moving that window
2002-04-28 12:34:34 +00:00
Dana Jansens
8ef0610e90
added ClickMouse window placement policy
2002-04-28 12:12:24 +00:00
Dana Jansens
830e53f25c
moved the 'moving window' logic into separate functions "startMove" "doMove" and "endMove"
2002-04-28 11:26:55 +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
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
6f2064b186
posible fix for maximizing when slit is auto-hidden
2002-04-22 18:59:04 +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
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
5067369f76
fix 2 bus errors on osx:
...
- it's std::string doesnt like being set to NULL.
- in Window.cc, caught someone using a membr variable after calling 'delete this'. bad.
2002-04-18 20:56:23 +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
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
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
ba6e2034e7
using a reference for Openbox instead of a pointer
2002-04-14 14:04:16 +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
d00ef14582
made shaded windows snap properly at their bottom, using their shaded height.
...
window.getHeight() now returns the different/correct value when a window is shaded.
2002-04-14 09:39:14 +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