Commit Graph

26 Commits

Author SHA1 Message Date
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 6a750669d7
scrollbar: Drop unused variable
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 12:11: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 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
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 5078034672 Add scrollbar 'handle-width' and 'handle-color' remove old syntax 2017-01-06 15:36:06 +01:00
Dave Davenport 7e13bd8658 Quick 'n Dirty work around for handle color in scrollbar. 2017-01-06 13:13:03 +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 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 3435599939 Allow for different color handle 2017-01-03 16:05:00 +01:00
Dave Davenport 7d16d1a552 Slowly move more settings to the configuration convert. 2017-01-01 15:39:02 +01:00
Dave Davenport 2bfbb464e6 Fix more sizing issues 2016-12-30 19:59:45 +01:00
Dave Davenport 530eee0bf6 scrollbar use padding accessors 2016-12-29 17:25:09 +01:00
Dave Davenport 77fdb08169 Allow padding on scrollbar 2016-12-28 12:57:58 +01:00
Dave Davenport 843ccc1e41 Update drawing, background per widget. 2016-12-28 12:21:42 +01:00
Dave Davenport 4858dad631 Merge remote-tracking branch 'origin/master' into themer 2016-12-15 09:17:55 +01:00
Dave Davenport d7b5b9fbfa Fix some compile warnings 2016-12-15 09:17:39 +01:00
Dave Davenport be0677cf49 Update theme to new format.
- @class state {

}
- #name state {

}
2016-12-12 21:14:57 +01:00
Dave Davenport 78abbeb710 Textbox uses new theme engine.. 2016-12-11 17:06:31 +01:00
Dave Davenport fb459e1660 Make scrollbar behave better 2016-10-26 08:24:34 +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 b19ab62e17 add scrollbar test. 2016-10-24 17:48:04 +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