Commit Graph

93 Commits

Author SHA1 Message Date
Christopher Michael 8ff96c07d1 Separate illume mode toggle into it's own gadget. This makes illume2 that
much cleaner.
Remove mode icon from illume2 edj.
Remove gadcon files from illume2 (in own gadget now).
Modify illume2 e.cfg to include illume-mode-toggle gadget and reorder gadgets.



SVN revision: 44671
2009-12-23 00:39:24 +00:00
Christopher Michael f9f0e3f2fb Add zone as a parameter to some functions so we can make sure that these
functions operate only on the current zone.



SVN revision: 44635
2009-12-21 17:19:32 +00:00
Christopher Michael 652da596a2 Create kbd on current zone.
Formatting.



SVN revision: 44619
2009-12-21 03:54:41 +00:00
Christopher Michael 7fa3653854 Remove dead code.
Add function to get border max size.
Set conformant apps to be below indicator bar.



SVN revision: 44617
2009-12-21 02:35:14 +00:00
Christopher Michael 4d32e932ea Handle another corner case wrt layout. Dual mode working nicely now even
with moving indicator (just need to handle conformant & fullscreen now).



SVN revision: 44611
2009-12-20 17:29:04 +00:00
Christopher Michael a9af8c438d More work on layout code. Handle cases where top shelf was dragged to
zone->y, thus making app1 region too small to display anything, so we do the
layout as was done previously. There are still some corner cases that I need
to trap here.



SVN revision: 44591
2009-12-20 06:06:53 +00:00
Christopher Michael 904f3db655 New layout code for dual-mode. This works with dragable indicator bars (tho
still need to handle fullscreen/conformant cases, and cases where an app
which wants vkbd is placed at the bottom - the vkbd ends up covering the app
window :( )



SVN revision: 44580
2009-12-19 21:05:49 +00:00
Christopher Michael ecf7f4c4f5 Reduce variable usage.
SVN revision: 44559
2009-12-18 23:58:51 +00:00
Christopher Michael 91c093d45a Add handy functions for getting dual-app mode safe regions (safe regions
being space that is available to place a window).



SVN revision: 44557
2009-12-18 23:51:54 +00:00
Christopher Michael b1734750c9 Traps for landscape mode when moving top_shelf or bottom_panel (so we don't
move the panel(s) if it's in a custom location).




SVN revision: 44550
2009-12-18 17:51:35 +00:00
Christopher Michael 6ffaf58927 Some safety checks to make sure we return a border, else calls to policy are
useless.



SVN revision: 44535
2009-12-18 05:17:03 +00:00
Christopher Michael fbf2f44a55 Add some handy functions for getting top_shelf/bottom_panel position and size.
SVN revision: 44530
2009-12-17 23:47:48 +00:00
Christopher Michael 13856e38f5 Remove old drag code for indicator & illume2. Drag of top shelf is now
handled almost entirely by the top shelf itself. This removes the
input_window also.



SVN revision: 44528
2009-12-17 23:36:07 +00:00
Christopher Michael d567df75c6 Remove config variables for locking.
Send mode to root window so we can lock/unlock indicator window on startup.



SVN revision: 44518
2009-12-16 21:39:04 +00:00
Christopher Michael f9c88ca73e Handle dragables a bit better. This also removes the config option from the
config dialog for locking.



SVN revision: 44517
2009-12-16 21:13:48 +00:00
Christopher Michael ae8da17111 Add config options to lock dragables.
Cleanup some code.



SVN revision: 44515
2009-12-16 20:12:49 +00:00
Christopher Michael 327fef16fd Remove dnd files. Handled it differently.
SVN revision: 44495
2009-12-16 02:22:34 +00:00
Christopher Michael 123a6e786e Add drag_start and drag_end to policy.
Remove old dead code.



SVN revision: 44493
2009-12-16 02:21:28 +00:00
Christopher Michael e707acdeb3 More work on dnd for indicator bar (not complete yet).
SVN revision: 44474
2009-12-15 08:24:40 +00:00
Christopher Michael 23aa71925c Start of dnd code for dragging indicator bars.
SVN revision: 44472
2009-12-15 06:55:37 +00:00
Christopher Michael 6488b1d7d7 Better placement of 'dialog' types for portrait mode.
SVN revision: 44459
2009-12-15 02:11:32 +00:00
Christopher Michael 652069d580 More appropriate place for border layers on fullscreen & conformant.
SVN revision: 44458
2009-12-15 01:51:19 +00:00
Christopher Michael b6001850ee Reenable layering of dialogs.
SVN revision: 44457
2009-12-15 01:35:09 +00:00
Christopher Michael 47cbcc03ae Don't focus activated if focus is locked out.
SVN revision: 44456
2009-12-15 00:12:26 +00:00
Christopher Michael 0f2e260558 Rework illume layout code to be cleaner WITH comments :)
Much much much better layout code. I believe this handles ALL cases now :)



SVN revision: 44454
2009-12-14 23:49:36 +00:00
Christopher Michael eb8d577866 Handle resizing border when vkbd appears. Works for single mode and dual
mode (top & bottom).



SVN revision: 44438
2009-12-14 06:56:43 +00:00
Christopher Michael 627ff5934f When a border needs fullscreen, set it.
SVN revision: 44431
2009-12-13 20:03:18 +00:00
Christopher Michael 393fb5cef5 Hide top & bottom panels when border is fullscreen.
SVN revision: 44430
2009-12-13 19:47:05 +00:00
Christopher Michael 1b14226912 Formatting. Fix comments.
SVN revision: 44427
2009-12-13 18:14:24 +00:00
Christopher Michael d51a62dceb Handle client messages for back & close.
SVN revision: 44400
2009-12-12 01:11:05 +00:00
Christopher Michael 9452fba9fe Trap for illume_mode client messages.
SVN revision: 44386
2009-12-11 21:13:40 +00:00
Christopher Michael 62c83dfff3 Set keyboard as sticky.
SVN revision: 44354
2009-12-11 09:34:52 +00:00
Christopher Michael 374b78a8dc Don't treat config dialogs as special anymore. They also can work w/ dual
app mode.



SVN revision: 44346
2009-12-11 02:56:07 +00:00
Christopher Michael fe9c5f663c Handle conformant apps in both dual modes now.
SVN revision: 44343
2009-12-10 18:14:32 +00:00
Christopher Michael 82d1609fd6 Handle dual-mode left/right setting.
SVN revision: 44334
2009-12-10 15:25:23 +00:00
Christopher Michael 06a58496d9 Config dialogs take up all zone space even in dual mode (until I'm told
otherwise).



SVN revision: 44282
2009-12-08 16:03:57 +00:00
Christopher Michael f95bb4526e Make basic dual mode work :) (this does not cover conformant apps yet, just
'basic' apps).



SVN revision: 44260
2009-12-07 21:14:28 +00:00
Christopher Michael a50456436b Don't move_resize a border if the dimensions are already set.
SVN revision: 44232
2009-12-07 00:32:39 +00:00
Christopher Michael 3b095fa6ec Trap for config dialogs in conformant check.
SVN revision: 44227
2009-12-06 19:16:49 +00:00
Christopher Michael 50f6c36b93 Don't need to show/hide "special windows" here. Handled in the
border_add/del functions.



SVN revision: 44226
2009-12-06 19:08:45 +00:00
Christopher Michael c91b7a42f3 Use new ecore_x_e_illume_conformant functions.
Add functions to get top_shelf & bottom_panel borders so we can hide/show
them.
If a conformant app window gets closed, reshow the top & bottom panels.



SVN revision: 44221
2009-12-06 17:32:31 +00:00
Christopher Michael 9989e6dddd Don't raise or focus a border if it's a "special" border.
SVN revision: 44218
2009-12-06 16:29:56 +00:00
Christopher Michael 3f55fcf7f4 Add ability for policy to handle activate code itself.
SVN revision: 44217
2009-12-06 16:17:39 +00:00
Christopher Michael ca0ebba0e4 Add function to test for a border at certain position.
SVN revision: 44216
2009-12-06 15:57:05 +00:00
Christopher Michael 63a836412c Handle netwm active requests.
SVN revision: 44206
2009-12-05 23:41:33 +00:00
Christopher Michael 781568dc46 Add function to return valid borders.
Focus any newly added borders.
Remove any remaining layer_set(s).



SVN revision: 44201
2009-12-05 17:27:30 +00:00
Christopher Michael f7058ca20b Don't use layers for layout code.
SVN revision: 44195
2009-12-04 23:33:56 +00:00
Massimo Maiurana 1aa44b0081 adding french and italian translations
SVN revision: 44177
2009-12-03 19:20:06 +00:00
Christopher Michael 42c80e1924 Change layer. Make it above softkey, but below dialogs if it's a conformant
app.



SVN revision: 44121
2009-12-02 18:35:02 +00:00
Christopher Michael cead02f0eb If a border is conformant, set layer to above the bottom_panel (softkey).
SVN revision: 44120
2009-12-02 18:33:05 +00:00