Commit Graph

127 Commits

Author SHA1 Message Date
Christopher Michael d39c3131fe Remove a printf.
Do not set lock_client_location or lock_user_location during border assign
hook. (These were responsible for elm_indicator window not being movable)
Add a new function so that we can move indicator window to proper position
if we are not in landscape mode. ( This resets indicator window to top
position when mode changes to non-landscape)

Thanks for the help Raster ;)



SVN revision: 44871
2010-01-04 02:53:51 +00:00
Christopher Michael 7d817812d9 Remove samsung policy directory. Not really needed.
SVN revision: 44868
2010-01-04 01:55:03 +00:00
Christopher Michael 35df00f32a Add event for when policy changes.
Handle policy change event.
Remove some unneeded includes.



SVN revision: 44867
2010-01-03 22:54:47 +00:00
Christopher Michael 21055add39 Fix sorting on major numbers (still a problem w/ sorting on minor numbers
tho).



SVN revision: 44866
2010-01-03 22:34:09 +00:00
Christopher Michael 687881fc63 Rework illume2:
- Policies are now loadable .so's ;)
       


SVN revision: 44864
2010-01-03 22:24:07 +00:00
Christopher Michael 6ca0879feb Remove old illume2 (readding in a second with lots of changes, so this was
easier).



SVN revision: 44863
2010-01-03 22:22:39 +00:00
Christopher Michael a1bc311d9a Fix some formatting in connman.
Remove some commented lines in quickpanel.
Add some printfs to quickpanel sort.
Remove dead code line in illume2 layout.
Separate illume and illume2 modules in build process (this allows illume &
illume2 to be enabled/disabled separately)



SVN revision: 44841
2010-01-01 17:15:16 +00:00
Christopher Michael e20470a501 Add input window so we can click anywhere and dismiss QP. Also listens for
mouse_wheel up to dismiss (because we use mouse_wheel currently to show QP).



SVN revision: 44810
2009-12-30 19:45:53 +00:00
Christopher Michael 0f08cc2cac Implement priority sorting for quickpanels.
SVN revision: 44804
2009-12-30 18:41:55 +00:00
Christopher Michael ca2c3ef479 Formatting in quickpanel.
Use better method to get current zone.
Check valid border count on mode switch and create new home windows if needed.



SVN revision: 44778
2009-12-30 02:34:27 +00:00
Christopher Michael 67a4f2caa0 Add different icons for different layout modes in mode-toggle module.
Add code to handle layout changes & update icon.
Implement new Ecore_X Illume Modes.
Make mode toggle actually cycle through modes and change accordingly.



SVN revision: 44769
2009-12-29 22:23:15 +00:00
Christopher Michael a3b7ffe569 And fix quickpanel layer if we are not animating.
SVN revision: 44767
2009-12-29 20:48:19 +00:00
Christopher Michael 7beb5fbf59 Fix quickpanel layering issue.
SVN revision: 44766
2009-12-29 20:43:14 +00:00
Christopher Michael a19182368b Remove function protos that are not used anymore.
SVN revision: 44765
2009-12-29 20:34:43 +00:00
Christopher Michael 93bcd9f4b0 Reduce variable usage.
Reenable border_assign hook (apparently it is needed for proper window
placement).
Reduce variable usage in some functions.
Remove border show/hide handlers (not used here).



SVN revision: 44764
2009-12-29 20:30:39 +00:00
Christopher Michael b6c8671bca Fix some quickpanel placement issues.
Add function to adjust quickpanel position.
Add function to return if border is valid.
Set layer of App borders.
Reduce variable usage (use valid_count_get directly).



SVN revision: 44763
2009-12-29 20:26:15 +00:00
Christopher Michael 5e5c3108cc Add missing quickpanel files (not complete yet, but does work)
SVN revision: 44754
2009-12-28 22:22:50 +00:00
Christopher Michael 676817424c Remove code which handles quickpanel state in client message handler.
Remove quickpanel functions from policy (handled differently now)
Create quickpanel object so we can animate it.
Add quickpanel init/shutdown to startup.
Don't handle layer set for quickpanel in border_add
Set quickpanel layer in layout code.



SVN revision: 44753
2009-12-28 22:22:07 +00:00
Christopher Michael 7804b38022 Remove dead code. These hooks are not needed.
SVN revision: 44744
2009-12-28 05:50:23 +00:00
Christopher Michael 019ced7f7c Reduce duplicated code.
SVN revision: 44743
2009-12-28 04:21:38 +00:00
Christopher Michael 3f2e4ed776 Add config variable for quickpanel animation duration.
Add gui for setting quickpanel duration (in Animation settings)
Bump config version for new variable (qp duration)



SVN revision: 44742
2009-12-28 03:50:44 +00:00
Christopher Michael fa7997bb19 Do not need to pass module when doing e_kbd_init.
Do not need to pass module when doing e_mod_layout_init.
Use global config->mod_dir in e_kbd_dbus.
Handle layer set & lower of quickpanel(s) in _border_add function.
Actually show/hide quickpanels when asked (temporary..this will change soon)
No need to handle setting conformant app layer in layout code. Done in
border_add.



SVN revision: 44741
2009-12-28 03:41:20 +00:00
Christopher Michael 4a4d04fa81 Add functions to allow quickpanel show/hide to be handled on a per-policy
basis.



SVN revision: 44740
2009-12-28 02:34:49 +00:00
Christopher Michael 0576446c11 Add check in 'valid borders get' for quickpanel so it is not included in
that return.
Add function to return all quickpanel borders.
Add function to return count of quickpanel borders.
No need to retrieve mode from event window when we get a client message. The
mode is actually returned to us already in the event data.
Add trap for quickpanel state in client message handler.



SVN revision: 44738
2009-12-28 02:11:55 +00:00
Christopher Michael f6f8eb8c09 Need an actual move here to handle external keyboards (elm_kbd). This
'should' make kbd 100% finished. Works in all test cases I have run so far.



SVN revision: 44734
2009-12-27 20:09:26 +00:00
Christopher Michael 4b60457607 Fix some corner cases where keyboard was not showing the second time.
SVN revision: 44732
2009-12-27 18:22:20 +00:00
Christopher Michael c23cca0bbb Rework/recode e_kbd stuff. This makes keyboard work nicely with everything
that I have tested so far. No more initial home window size problems either :)



SVN revision: 44728
2009-12-27 05:04:41 +00:00
Christopher Michael 269e469496 Remove commented line.
SVN revision: 44726
2009-12-27 00:58:59 +00:00
Christopher Michael 21739a8521 Break apart keyboard code to separate dbus code (cleaner).
Fix initial home window size problem.



SVN revision: 44725
2009-12-27 00:57:04 +00:00
Christopher Michael 0942505cff Resize the quickpanel borders during layout.
SVN revision: 44698
2009-12-23 20:04:44 +00:00
Christopher Michael 5906ab2010 Trap for quickpanel windows. Not actually doing anything with them yet tho.
SVN revision: 44694
2009-12-23 15:26:51 +00:00
Christopher Michael db41be00b2 Remove winlist client message.
Add defines for border layers to allow easier changing in code.



SVN revision: 44687
2009-12-23 13:36:13 +00:00
Christopher Michael c873ad8207 Remove EAPI from kbd functions. We do not need to export these as they are
used by illume2 only.



SVN revision: 44683
2009-12-23 12:02:55 +00:00
Christopher Michael 53b66b881c Breakup code a little more to be better organized. Separates all border
functions into one file.



SVN revision: 44681
2009-12-23 11:48:55 +00:00
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