Dave Davenport
9a6fd1c6c3
Merge in master
2017-05-30 16:23:19 +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
30da7e587a
widget: Add widget_xy_to_relative helper
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:44:05 +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
Dave Davenport
b73f938a82
Set box orientation in theme.
2017-05-26 20:23:46 +02:00
Dave Davenport
c23df70aeb
Allow interface to be dynamically changed.
2017-05-25 23:41:15 +02:00
Dave Davenport
ce4b1b23b4
Re-Indent code
2017-04-27 22:59:14 +02:00
Dave Davenport
4157b5d825
[Theme] Allow default enabled state of widget to be set in theme
2017-04-18 08:47:48 +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
Quentin Glidic
cfbe4027bc
Consolidate logging
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:07:29 +02:00
Dave Davenport
ba9e1fb92a
Switch to g_{debug,warning} instead of g_log
2017-04-15 11:37:50 +02:00
Dave Davenport
3f4d58ef53
Indent code.
2017-03-04 19:41:06 +01:00
Dave Davenport
5188e36147
Remove unused functions and other small fixes
2017-01-09 08:39:02 +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
9dd3cb312e
Support linestyle on border
2017-01-04 22:27:27 +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
44581fd90b
Allow packing order to be set using theme.
2017-01-04 13:34:02 +01:00
Dave Davenport
f9fc01b176
Add percentage option to border,padding
2017-01-03 19:23:09 +01:00
Dave Davenport
9f294437f0
Merge remote-tracking branch 'origin/master' into themer
2017-01-03 18:02:51 +01:00
Dave Davenport
4f4770ee4f
Fix wrong sed replace.
2017-01-03 18:02:21 +01:00
Dave Davenport
8163204320
Merge remote-tracking branch 'origin/master' into themer
2017-01-03 18:00:12 +01:00
Dave Davenport
22e2d7587d
Update copyright to 2017.
2017-01-03 17:59:28 +01:00
Dave Davenport
e982a439fb
Fix spacing in listview and box.
2017-01-03 14:25:24 +01:00
Dave Davenport
f82129aab8
Box: static widget should get their desired height.
2017-01-03 12:18:11 +01:00
Dave Davenport
ccf3f23d9b
Update comments, rename Widget to ThemeWidget.
2017-01-01 18:08:49 +01:00
Dave Davenport
7d16d1a552
Slowly move more settings to the configuration convert.
2017-01-01 15:39:02 +01:00
Dave Davenport
7b0e0643c8
Make spacing be of type distance.
2016-12-31 23:27:17 +01:00
Dave Davenport
2bfbb464e6
Fix more sizing issues
2016-12-30 19:59:45 +01:00
Dave Davenport
eafd4697a2
Fix some of the sizing issues.
2016-12-30 18:31:30 +01:00
Dave Davenport
eda70f337a
Remove debug output.
2016-12-29 22:11:02 +01:00
Dave Davenport
aa5b7a7ff8
box use padding accessors
2016-12-29 17:25:28 +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
dfc8a31126
Redo some of the redrawing methods, better padding support
2016-12-28 00:37:32 +01:00
Dave Davenport
1c611b0eec
First start at adding 4 sided padding
2016-12-27 22:19:15 +01:00
Dave Davenport
fd64bb7a41
Improve lexer by adding support for modes.
2016-12-12 23:40:43 +01:00
Dave Davenport
1dfac3c4da
Update to new theme
2016-12-11 12:19:46 +01:00
Dave Davenport
862c04ef61
Fix drawing order when widget is added at end. This simplifies bottom mode.
...
Fixes : #505
2016-11-27 16:02:37 +01: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
7b3b68462e
Fix memory leak in box and listview widget, add coverage make target. (ggcov and lcov)
2016-10-18 13:49:24 +02:00
Dave Davenport
0e176199fc
Fix some possible null pointer dereference. (clang-check)
2016-10-17 18:21:03 +02:00
Dave Davenport
f0981d6697
Indenting, comments
2016-10-15 15:39:08 +02:00
Dave Davenport
f3298801f3
Split internal widget into separate file
2016-10-09 10:13:15 +02:00
Dave Davenport
3c64507f02
Qtk widgets ( #478 )
...
* Initial support for using boxes for packing widgets.
* Make CapiTalIzation more consistent
* Move widgets to subdirectory
* Removed nolonger needed resize function.
* Small cleanup
* When switching mode, reuse view, don't rebuild it. Reduces artifacts.
* Needs cleaning up.
* Remove separate prompt argument, use display_name
* Simplify run-switcher code.
* Add notion of parents, and trigger parent update on resize.
* Use widget_get_height wrapper, avoid crash
* Size separator width based on height. (indent)
* TODO add margin to box.
* First draft version of listview.
* Add scrollbar to listview widget
* Add padding option to box
* Move access to global config out of widget. (1/2 done)
* Remove printf
* Make listview not access global config
* Add click support, implement on mode buttons.
* Re-introduce mouse handling on list-view.
* TODO draggin on scrollbar.
* Fix multi-select
* Fix warnings
* Fix include
2016-10-08 18:57:59 +02:00