Dave Davenport
0633bc9dad
Remove (unused) widget ref counting.
2018-06-12 10:08:29 +02:00
Dave Davenport
441c511296
Add an generic icon fetcher that can be used by any widget and re-uses the main threadpool.
...
Add an generic icon fetcher that can be used by any widget and re-uses the main threadpool.
* Make threadpool more generic usable.
* Add generic icon fetcher, that caches icons.
* Make DRUN use this fetcher.
* Add icon widget.
#809
2018-06-09 19:13:57 +02:00
Dave Davenport
acfc07a63e
Fix Inherit keyword
2017-09-07 13:46:09 +02:00
Dave Davenport
9a62bfd172
Run indenter.
2017-06-03 20:35:50 +02:00
Dave Davenport
4bd9828aa7
Remove index from box_add.
2017-06-02 16:53:39 +02:00
Dave Davenport
3e46228074
Change Padding to RofiPadding
2017-06-02 16:44:16 +02:00
Dave Davenport
9a6fd1c6c3
Merge in master
2017-05-30 16:23:19 +02:00
Quentin Glidic
4fbf1b7075
widgets: Fix doc
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 14:15:13 +02:00
Quentin Glidic
685d4f0e13
widget: Rely on find_mouse_target to send motion events
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:17 +02:00
Quentin Glidic
a9199e3e17
Use libnkutils for keybindings
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-29 16:51:06 +02:00
Dave Davenport
fa0380057b
[Widget] Add desired width option.
2017-05-28 16:10:11 +02:00
Quentin Glidic
9a68b22009
Fix licenses headers
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:32:05 +02:00
Dave Davenport
db92ff1f41
Add border radius to border around widget.
2017-02-06 21:17:56 +01:00
Dave Davenport
2fe22cb7e2
Return to default border when nothing set after state update
2017-02-03 15:44:52 +01:00
Dave Davenport
f42e4ffbd7
Remove old cairo color set functions
2017-01-09 08:32:16 +01:00
Dave Davenport
baab2047ad
Indent magic, rework makefile so lexer and yacc file are not passed.
2017-01-08 21:36:06 +01:00
Dave Davenport
af8a6541a2
Order entries in box based on index, allow theme to override.
2017-01-06 16:41:23 +01:00
Dave Davenport
85a0e1a57e
Remove class system from new theme format. Fix theme converter.
2017-01-04 15:05:39 +01:00
Dave Davenport
495dfb4c20
Add support for margin.
2017-01-03 23:51:15 +01:00
Dave Davenport
861b52a523
Add support for borders around widgets.
2017-01-03 15:39:19 +01:00
Dave Davenport
47aa7c4900
Fix errors in doxygen comments
2017-01-01 18:40:49 +01:00
Dave Davenport
ccf3f23d9b
Update comments, rename Widget to ThemeWidget.
2017-01-01 18:08:49 +01:00
Dave Davenport
eafd4697a2
Fix some of the sizing issues.
2016-12-30 18:31:30 +01:00
Dave Davenport
a2001d1b9c
Add window widget, play with logic for sizing (broken)
2016-12-28 19:42:14 +01:00
Dave Davenport
843ccc1e41
Update drawing, background per widget.
2016-12-28 12:21:42 +01:00
Dave Davenport
1c611b0eec
First start at adding 4 sided padding
2016-12-27 22:19:15 +01:00
Dave Davenport
1dfac3c4da
Update to new theme
2016-12-11 12:19:46 +01:00
Dave Davenport
b1a44cc65e
Update code documentation
2016-11-15 21:54:31 +01:00
Dave Davenport
fb459e1660
Make scrollbar behave better
2016-10-26 08:24:34 +02:00
Dave Davenport
163934fa8c
Simplify some code, more comments. (90% docu)
2016-10-25 22:45:11 +02:00
Dave Davenport
a38ac9caf3
Update scrollbar behaviour, so dragging is more natural. (limit range from hw/2 to h-hw/2)
2016-10-25 21:19:39 +02:00
Dave Davenport
9293c8b8ce
More docu updates
2016-10-14 18:56:09 +02:00
Dave Davenport
f3298801f3
Split internal widget into separate file
2016-10-09 10:13:15 +02:00