Commit Graph

146 Commits

Author SHA1 Message Date
Emmanuel Lepage Vallee fabd52d1a6 Major refactoring, address issue #12 2014-02-22 23:59:03 -05:00
Emmanuel Lepage Vallee b6ba3ad383 Replace old state handling implementation by something 'better'
While **much** more complex and slower for regular menus, it has advantages:

 * Better performance scaling when state count grow
 * Prevent most accidental unsupported state colors
 * Prevent a big if elseif elseif... switch copy pasted in all item_styles
 * Make it easier to register new states

As for the 'bloated' created by this commit, it will be moved when I will
fix issue #12
2014-02-21 22:22:20 -05:00
Emmanuel Lepage Vallee 9148c48dd1 Fix issue #7 2014-02-20 22:29:40 -05:00
Emmanuel Lepage Vallee fd835fdbeb Fix issue #14 2014-02-19 22:16:59 -05:00
Emmanuel Lepage Vallee 7046b40f83 Add icon_transformation option (take this from Blind playbook)
It can use Blind common.drawing tools to implement some magic.

I may merge this into Radical and kill Blind as everything else
is pretty much deprecated at this point. Blind was never more
than a hack.
2014-02-19 22:09:28 -05:00
Emmanuel Lepage Vallee 1dea6095b0 Fix a bug when menu are larger than the screen edge 2014-02-18 22:19:38 -05:00
Emmanuel Lepage Vallee 579f26eb82 Add client_menu to radical (originally from 2010) 2014-02-18 00:19:44 -05:00
Emmanuel Lepage Vallee 5a79549e59 Add opacity option 2014-02-17 22:57:04 -05:00
Emmanuel Lepage Vallee cd88700613 Port rc.lua default tasklist buttons to the tasklist module 2014-02-17 01:11:35 -05:00
Emmanuel Lepage Vallee 5cebb6a961 Switch to the new button handling API (instead of awful.button) 2014-02-16 23:55:44 -05:00
Emmanuel Lepage Vallee 5713f00e1b Add modifiers to the new event interface 2014-02-16 14:46:10 -05:00
Emmanuel Lepage Vallee 0a74963b41 Add proxy signals for item mouse events (issue #10 ) 2014-02-15 21:57:07 -05:00
Emmanuel Lepage Vallee b65f47e86b Add more bits for the overlay feature 2014-02-14 23:35:53 -05:00
Emmanuel Lepage Vallee 9205d9f27a Add partial dynamic overlay support
This will require a better event API to be useful, including issue #10
2014-02-12 23:10:07 -05:00
Emmanuel Lepage Vallee 76623695e6 Fix an issue with :remove() and fix taglist signals 2014-02-11 21:38:05 -05:00
Emmanuel Lepage Vallee 76c3195dbd Add basic taglist implementation 2014-02-10 23:07:34 -05:00
Emmanuel Lepage Vallee f7bdc9b75a Update tasklist text when client change 2014-02-09 03:04:02 -05:00
Emmanuel Lepage Vallee cbb39935db Add support for mouse over colors 2014-02-09 00:54:59 -05:00
Emmanuel Lepage Vallee 1170ac0cc4 Fix 2 tasklist bugs 2014-02-08 01:31:45 -05:00
Emmanuel Lepage Vallee 4482d93c96 Add tasklist widget (prototype) 2014-02-08 00:52:42 -05:00
Emmanuel Lepage Vallee 220dd27a02 Add new 'flexbar' menu type (bar with a flex layout) 2014-02-06 23:47:24 -05:00
Emmanuel Lepage Vallee c0c57eff16 Partially implement issue #8 2014-02-05 22:48:26 -05:00
Emmanuel Lepage Vallee 8fa38c2a2c Add :move() and :remove() methods 2014-02-05 21:43:06 -05:00
Emmanuel Lepage Vallee ddd67ca569 Add :swap(item1,item2) 2014-02-05 01:03:51 -05:00
Emmanuel Lepage Vallee d62524f0ea I waited long enough, time to push the fix for issue #3 (works for me (tm)) 2014-02-04 23:43:07 -05:00
Emmanuel Lepage Vallee bd8b76ce0e Complete transition to item_layout 2014-02-04 23:29:38 -05:00
Emmanuel Lepage Vallee daff0cb4dd Add support for custom item_style and item_layout for each items 2014-02-02 23:01:31 -05:00
Emmanuel Lepage Vallee b87282458f Port radical.layout.horizontal to the item_layout concept 2014-02-02 17:21:59 -05:00
Emmanuel Lepage Vallee 0376cfaf31 Add new 'item_layout' concept to fight code duplication between layouts 2014-02-02 16:53:09 -05:00
Emmanuel Lepage Vallee ffcace786f Fix for sub-menus on the far-right of the screen 2014-02-02 00:35:50 -05:00
Emmanuel Lepage Vallee b1f3190ae3 Checkbox need to be before the sub menu arrow, not after 2014-01-30 00:03:56 -05:00
Emmanuel LEpage Vallee ebac399d72 Add 'arrow_single' item style 2014-01-25 01:33:50 -05:00
Emmanuel LEpage Vallee ae627671f1 Finish 'arrow_prefix' style 2014-01-22 23:58:50 -05:00
Emmanuel LEpage Vallee 14add60b6c Fix keyboard navigation (issue #5) 2014-01-21 00:24:51 -05:00
Emmanuel LEpage Vallee 34e0836e5e Make checkbox resize correctly on retina display 2014-01-20 23:50:35 -05:00
Emmanuel Lepage Vallee bd1558ca9c Show all tags in alt+tab 2014-01-18 02:20:07 -05:00
Emmanuel Lepage Vallee 9a03c837c0 Add multi underlay support 2014-01-17 00:34:45 -05:00
Emmanuel Lepage Vallee 5b635e96e5 Move upderlay widget to Radical 2014-01-16 00:25:50 -05:00
Emmanuel Lepage Vallee 960028e414 Better document menthods 2014-01-14 23:39:24 -05:00
Emmanuel Lepage Vallee c3d38932f4 Add 'add_key_binding' method (fix issue #5) 2014-01-14 23:19:49 -05:00
Emmanuel Lepage Vallee 27a5970277 Add partial arrow_prefix item style (1/3) 2014-01-13 00:46:33 -05:00
Emmanuel Lepage Vallee c974dc7534 Add 'arrow_alt' item style 2014-01-12 01:27:46 -05:00
Emmanuel Lepage Vallee 69d5aac0fa Fix set_menu() 2014-01-08 23:32:42 -05:00
Emmanuel Lepage Vallee a1144564ab Replace old item_style attributes by a more flexible array 2014-01-08 00:59:57 -05:00
Emmanuel Lepage Vallee e20c6921dc Make F-key widget scale better to lower size 2014-01-05 22:51:42 -05:00
Emmanuel Lepage Vallee 95c37a93b9 Merge some radial menu work from 2011 and 2012 2014-01-05 22:12:48 -05:00
Emmanuel Lepage Vallee 63bb804a45 'Bar' menu cleanup, minor bug fixes 2014-01-05 17:35:23 -05:00
Emmanuel Lepage Vallee 4db83034b8 Refactor menu layout to maximize code sharing 2014-01-05 01:04:40 -05:00
Emmanuel Lepage Vallee 9aab9b0d3c Add separator widget 2014-01-04 18:51:07 -05:00
Emmanuel Lepage Vallee 4af6f6387b Add :set_menu function to all widgets 2014-01-04 18:10:35 -05:00