Emmanuel Lepage Vallee
01e961dd11
refactor: Port radical.item.layout.horizontal to the declarative syntax
2016-12-25 21:59:23 -05:00
Emmanuel Lepage Vallee
a625388122
refactor: Port radical.layout.vertical to the declarative syntax
2016-12-25 21:59:23 -05:00
Emmanuel Lepage Vallee
bf64eec5c9
Use the newly upstreamed container methods
2016-12-25 21:59:23 -05:00
Emmanuel Lepage Vallee
6e85a46093
Fix more issues for 3.6. The arrow_prefix now work using a new hack
...
The "hack" force the full redraw of the menu. This is what 3.5 did
anyway, but of course is not correct. The new layout system allow
widgets to have a larger fit and it should cascade by itself. This
is not yet used by radical.
This commit also fix some mistake made during the initial port.
My whole config now load mostly correctly. Some 3.5 era bugs even
fixed themselves! It is still slower for some reasons and have many
errors left, but it "look" ok.
2016-12-25 21:59:23 -05:00
Emmanuel Lepage Vallee
1229da75c7
Add a new global get_preferred_size() for all widgets
...
Replace the fit(9999,9999) used before. This will hopefully be
temporary until upstream adopt such a method
2016-12-25 21:59:23 -05:00
Emmanuel Lepage Vallee
cf9bb87b36
Port to the new Awesome widget system
...
This commit fix most issues introduced by the new widget system. It
is not production ready and will require multiple commits to fix
individual issues.
The new widget system is better suited for modules like Radical than
the previous one. Over time, this breakage will probably end up being
a good thing. However, for now, expect multiple errors.
The changes:
* The draw "wibox" argument is now a "context". "context.wibox" is
the equivalent. This will allow passing the Radical structure to
the draw method without storing it in the widgets.
* "fit" now have a new required "context" argument for the DPI, this
will allow removing the "default_height" variable Radical is using
to scale the UI on HIDPI systems. This will allow size policies to
be passed to the fit method
* "draw" has been splitted into "draw", "draw_before_children",
"draw_after_children" and "layout". This simplify the overlay
system and will allow cleaner code
* Drawing outside of the widget clip is no longer supported, this
break multiple Radical item.style. This will allow better
performance and less redraw once the new system issues have been
fixed
2016-12-25 21:59:23 -05:00
Emmanuel Lepage Vallee
da08a267cf
Add rounded + shadow item style
2015-01-10 23:59:51 -05:00
Emmanuel Lepage Vallee
46481f0a8a
Add better tooling to track menu dimensions
2014-10-05 18:01:54 -04:00
Emmanuel Lepage Vallee
52fdd8a1f2
Correctly forward menu item geometry
2014-07-27 23:49:14 -04:00
Emmanuel Lepage Vallee
1662a013dc
Bug fixes
2014-07-27 19:20:04 -04:00
Emmanuel Lepage Vallee
d9a82c87a4
Support multiple tags at once in the tasklist
2014-04-15 22:55:23 -04:00
Emmanuel Lepage Vallee
8da00cbd65
Add new notification item layout, improve extensions
2014-04-08 23:38:31 -04:00
Emmanuel Lepage Vallee
ef7e46f865
Improve dynamic menu speed
2014-03-26 16:18:59 -04:00
Emmanuel Lepage Vallee
2e6e3fb4ca
Better compute the minimum size
2014-03-24 00:00:01 -04:00
Emmanuel Lepage Vallee
14c420ac49
Fix keyboard handling
2014-03-23 00:14:25 -04:00
Emmanuel Lepage Vallee
bee04c14bc
Fix issue #11 , break API, may cause regressions
2014-03-22 17:35:43 -04:00
Emmanuel Lepage Vallee
059572956e
Change the way position is computed
...
The old way was a hack arounf an Awesome 3.5.0 limitation.
The newer should be more reliable.
Please report any regressions.
2014-03-22 00:11:08 -04:00
Emmanuel Lepage Vallee
231eef25bc
Add global underlay support
2014-03-12 00:31:50 -04:00
Emmanuel Lepage Vallee
ad20d9e2be
Properly handle menu prefix and suffix widgets
...
This was previously hardcoded
100 commits!
2014-03-11 20:50:00 -04:00
Emmanuel Lepage Vallee
5255cca803
Change object syntax to user get_ and set_ prefix instead of get_map/set_map mappers (issue #15 )
2014-03-05 00:12:48 -05:00
Emmanuel Lepage Vallee
95ed8b26c4
More style/colors oriented refactoring
2014-03-02 16:28:30 -05:00
Emmanuel Lepage Vallee
fabd52d1a6
Major refactoring, address issue #12
2014-02-22 23:59:03 -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
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
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
0376cfaf31
Add new 'item_layout' concept to fight code duplication between layouts
2014-02-02 16:53:09 -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
5b635e96e5
Move upderlay widget to Radical
2014-01-16 00:25:50 -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
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
55f1b2a0c1
Add :set_tooltip() method to all wibox.widgets
2014-01-04 16:51:50 -05:00
Emmanuel Lepage Vallee
5ff71f7385
Add new 'bar' menu type
2014-01-04 00:49:20 -05:00
Emmanuel Lepage Vallee
5c140a93ac
Add new impl (implementation) section with the alt+tab menu
2013-12-19 00:23:44 -05:00
Emmanuel LEpage Vallee
76d34dd93d
Improve HiDPI support and fix 0 item submenus
2013-11-10 23:18:23 -05:00
Emmanuel Lepage Vallee
10fb812c23
Try to fix issue #3 (I sill cannot reproduce it)
2013-10-26 18:42:59 -04:00
Emmanuel Lepage Vallee
fc48ca261f
Add 'disable_markup' option
2013-09-30 22:19:38 -04:00
Emmanuel Lepage Vallee
fdfbab2f52
Only display scroll widget when there is enough item
2013-08-09 02:34:49 -04:00
Emmanuel Lepage Vallee
f399a651c5
Fix clear
2013-07-23 02:12:19 -04:00
Emmanuel Lepage Vallee
576f6dd576
Add more theme options
2013-07-18 00:03:19 -04:00
Emmanuel Lepage Vallee
e8027779dc
Add bg/fg pattern support
2013-07-13 01:05:46 -04:00
Emmanuel Lepage Vallee
1a03ad281a
Use Pango to render F-keys prefixes for menues (better on high-DPI screens)
2013-07-08 21:31:33 -04:00
Emmanuel Lepage Vallee
4484e671a7
Add full support for max_items in the vertical menu
2013-07-07 18:18:55 -04:00