Dana Jansens
ea6258ce0f
add a menuOverlap property to themes, and use it in the submenu placement
2003-07-22 16:14:42 +00:00
Scott Moynes
ea53850762
Keyboard navigatable menus
2003-07-21 23:19:03 +00:00
Scott Moynes
e9a8e272c0
Fix a couple memory leaks.
2003-07-19 23:58:45 +00:00
Scott Moynes
22ff8c587d
Menu parsing updates for plugins.
...
FIFO menus are the only plugin that takes advantage of this.
Example:
<menu id="root" label="Openbox 3">
<menu id="fonk" label="fonk" plugin="fifo_menu">
</menu>
</menu>
This creates a FIFO ~/.openbox/fifo_menu/fonk to which you can send
menus to. The menus sent to it must be like
<fifo>
<item>
etc...
</fifo>
I think. If my memory serves me right.
It is all hideous, but I just wanted to experiment and see if it was
possible.
2003-07-17 01:40:27 +00:00
Dana Jansens
a95dc346fe
prefix and capitalize ObMenu ObMenuEntry and ObMenuEntryRenderType
...
make the ObMenuEntryRenderType a standard enum instead bitflags
2003-07-10 19:27:12 +00:00
Dana Jansens
35418ca0fc
remove the ob_root var, its redundant of what Xlib already provides
2003-07-10 19:01:41 +00:00
Dana Jansens
122d55fbad
prefixing and capitalizing the StackLayer -> ObStackingLayer enum.
...
less includes in headers for less rebuilding on changes
2003-07-10 17:03:05 +00:00
Dana Jansens
2477a38d2f
rename the Client struct to ObClient
2003-07-10 06:38:42 +00:00
Dana Jansens
6357583c39
rename 'xinerama' stuff to 'monitors' to be more generic and descriptive.
2003-07-10 05:44:23 +00:00
Scott Moynes
71b7b043a2
Handle menu events a little better: don't bother updating a submenu on
...
mouseover if it is already open, and call update on menus, even if
they aren't marked as invalid.
2003-06-29 01:44:31 +00:00
Dana Jansens
34e819738b
xinerama support
2003-06-27 04:20:30 +00:00
Dana Jansens
0443796e40
remove unused variable
2003-06-26 07:07:59 +00:00
Dana Jansens
7af1c6a9c3
menus grab the keyboard and pointer, thus making only one menu visible at a time, and making them act like gtk menus and * menus do, where you can click and drag and release to select something as well as click-release to elave it open while you search around the menu
2003-06-25 18:43:42 +00:00
Dana Jansens
a385702349
position submenus correctly horizontally
2003-06-24 19:33:24 +00:00
Dana Jansens
76aeb9b231
add a simple menu parser.
...
while menu parsing, the theme does not exist so we can't do any theme stuff while creating menu stuff, so put that off for later, i.e when the menu is shown.
2003-06-22 08:32:35 +00:00
Dana Jansens
4541959b8c
kill a warning
2003-06-21 02:24:18 +00:00
Dana Jansens
10232a436a
fix a warning
2003-06-21 02:14:53 +00:00
Dana Jansens
b1f5555218
put the render theme into a struct
2003-06-21 01:53:26 +00:00
Dana Jansens
a4a0cb7829
fixed to accomodate the changes to the render/ API.
2003-06-21 00:42:47 +00:00
Scott Moynes
04a85677e5
layers submenu on client
2003-05-22 02:49:08 +00:00
Scott Moynes
71d2605e1c
Client menus
...
Add "client_menu" to pluginrc to use.
2003-05-21 23:58:40 +00:00
Scott Moynes
00960995a2
Added a fifo_menu plugin
2003-05-18 23:36:13 +00:00
Dana Jansens
b77e40e1c7
rename "Slit" to "Dock".
...
add config options to the rc3 for the dock.
create a window_map, add DockApps to the ObWindow types, use the window_map for translating windows into objects for event handling (only one lookup now) and remove the old maps (client_map, menu_map).
2003-05-16 18:10:10 +00:00
Dana Jansens
6e42b65bda
add anotehr stacking_add function.
...
make stacking_add take care of raising also.
make new windows that dont get focus also not raise above the focused window.
2003-05-16 15:16:33 +00:00
Dana Jansens
7b65469aea
watch out for not loading the timed_menu plugin
2003-05-14 18:40:33 +00:00
Scott Moynes
78a8680cd7
Added a menu to read from a pipe.
...
File descriptors added to the event loop.
2003-05-14 03:34:29 +00:00
Dana Jansens
7c7868f47d
add internal popups n shit to the stacking list.
...
some cleanups for the stacking order hint.
add non-opaque move/resize. cant toggle it yet.
2003-05-11 23:31:43 +00:00
Dana Jansens
fed4a9e70b
rm comment for shit i fixed
2003-05-11 21:39:25 +00:00
Dana Jansens
81cc0749f8
Menus put themselves into the stacking list.
...
Clicking on the menu (but not on an entry) will raise it.
2003-05-11 19:50:30 +00:00
Dana Jansens
58cfbb7f84
Clients Menus and Slits are all 'ObWindow's now.
...
Stacking is done with ObWindows.
Slits add themselves to the stacking order, as do clients of course.
Added some macros for adding/removing to the stacking order.
2003-05-11 19:44:33 +00:00
Dana Jansens
2508089df5
make the client menu not have a title
2003-05-10 16:03:06 +00:00
Scott Moynes
24eb9f85df
Turn off timed_menu by default
2003-05-10 15:12:27 +00:00
Scott Moynes
03d42b5d82
Timed menu that reads output from a process while the window is hidden
2003-05-10 14:51:27 +00:00
Scott Moynes
a8a4a2cca3
Menu uber patch
...
Since we have no menu parser see menu_startup() to customize
2003-05-09 23:15:28 +00:00
Dana Jansens
f26f23de50
all my changes while i was offline.
...
better alt-tabbing. better transient handling. i dont even know. lots of fucking cool shit so WATCH the FUCK OUT.
2003-05-09 16:57:17 +00:00
Scott Moynes
574dd66b32
More menu changes to facilitate plugins.
2003-04-22 03:48:34 +00:00
Scott Moynes
6a237b91bc
Render menus only when they are invalid.
2003-04-22 01:04:29 +00:00
Dana Jansens
185d1337e5
menus works on some level. add a built-in root menu
2003-04-16 18:09:11 +00:00
Dana Jansens
79a352a40b
raise menus above clients.
...
hilight menu entries as the cursor passes over them.
2003-04-16 05:36:51 +00:00
Dana Jansens
59c3cce4f4
save the window ids in a map for the menus
2003-04-16 04:16:24 +00:00
Dana Jansens
0e28a07e3d
start of showing/rendering menus. woot!
2003-04-15 18:29:55 +00:00
Dana Jansens
3d6e0f941d
these menus should not be removed, they are good and will be used.
2003-04-14 21:26:01 +00:00
Scott Moynes
69854023a4
*** empty log message ***
2003-04-14 04:30:34 +00:00
Dana Jansens
2309520b48
no //'s plz
2003-03-29 20:57:18 +00:00
Scott Moynes
a116f2c631
Menu data structures basically completed.
...
Need the engine support still, parser, and controllers.
2003-03-29 03:18:11 +00:00
Scott Moynes
3443454f33
Added some menu structure.
2003-03-24 21:54:47 +00:00