Commit graph

1221 commits

Author SHA1 Message Date
Dave Davenport
ccf3f23d9b Update comments, rename Widget to ThemeWidget. 2017-01-01 18:08:49 +01:00
Dave Davenport
d20587da54 Fix? tests 2017-01-01 16:32:01 +01:00
Dave Davenport
7d16d1a552 Slowly move more settings to the configuration convert. 2017-01-01 15:39:02 +01:00
Dave Davenport
44534653bf Remove border from ViewState 2017-01-01 12:16:04 +01:00
Dave Davenport
5c547393b8 Repaint (if) needed before flipping xcb_copy_area 2017-01-01 02:57:04 +01:00
Dave Davenport
0a8bdb6a98 Always queue a redraw on a resize event. 2017-01-01 02:27:51 +01:00
Dave Davenport
f43bf3dc6a On textbox update tell it to update parent. 2017-01-01 02:00:54 +01:00
Dave Davenport
d35e70d817 Support converting old theme internally, add first option to dump theme 2017-01-01 01:06:38 +01:00
Dave Davenport
05871703d5 Fall back to old style padding (with int) if no metric specified. 2016-12-31 23:34:48 +01:00
Dave Davenport
fb2d8b37a6 Fall back to integer setting for distance 2016-12-31 23:30:57 +01:00
Dave Davenport
7b0e0643c8 Make spacing be of type distance. 2016-12-31 23:27:17 +01:00
Dave Davenport
52e850dc33 Fix EM support, use char height 2016-12-31 23:00:06 +01:00
Dave Davenport
068592414e Support em format in padding 2016-12-31 22:47:22 +01:00
Dave Davenport
5f424fa598 Padding should be specified in px now and 4 borders can be specified on
one pixel line.
2016-12-31 21:37:19 +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
04ad719c01 Merge remote-tracking branch 'origin/master' into themer 2016-12-30 17:34:58 +01:00
Dave Davenport
6e55cb86b9 Work-around for detecting end of file, hopefully fixing #518. 2016-12-30 17:33:24 +01:00
Dave Davenport
eda70f337a Remove debug output. 2016-12-29 22:11:02 +01:00
Dave Davenport
c0e6e7c555 Redraw the window, if it moves 2016-12-29 22:06:31 +01:00
Dave Davenport
b0a8edc95a Fix resizing normal-window mode. 2016-12-29 21:58:32 +01:00
Dave Davenport
5183c14b51 textbox use padding accessors 2016-12-29 17:31:37 +01:00
Dave Davenport
aa5b7a7ff8 box use padding accessors 2016-12-29 17:25:28 +01:00
Dave Davenport
530eee0bf6 scrollbar use padding accessors 2016-12-29 17:25:09 +01:00
Dave Davenport
a966cd158d separator use padding accessors 2016-12-29 17:09:22 +01:00
Dave Davenport
eec772d01d listview use padding accessors 2016-12-29 17:04:16 +01:00
Dave Davenport
a2001d1b9c Add window widget, play with logic for sizing (broken) 2016-12-28 19:42:14 +01:00
Dave Davenport
2db879e979 Fix clicking 2016-12-28 14:23:43 +01:00
Dave Davenport
91baac3968 Fix desired size of listview, tweak textbox rendering 2016-12-28 14:10:27 +01:00
Dave Davenport
d63b9cb15e Padding to textbox. remove config.line_padding 2016-12-28 13:46:53 +01:00
Dave Davenport
5dfddf8840 Support padding in listview 2016-12-28 13:17:02 +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
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
c5439118a7 Merge remote-tracking branch 'origin/master' into themer 2016-12-27 10:49:27 +01:00
Dave Davenport
0865e0f9d4 Directly queue a redraw on overlay change. 2016-12-26 20:57:33 +01:00
Dave Davenport
aa08c8ea78 Make workspace name also searchable 2016-12-26 16:23:55 +01:00
Dave Davenport
9cc048e48e Merge remote-tracking branch 'origin/master' into themer 2016-12-26 16:04:19 +01:00
Dave Davenport
ee310c8470 Strip pango markup from workspace names when detecting I3.
Thanks I3 for this crap.

Issue: #507
2016-12-26 15:58:51 +01:00
Dave Davenport
5a638b1fa0 Search categories when searching Desktop Files.
Issue: #499
2016-12-26 15:18:52 +01:00
Dave Davenport
a0bab0e99a Merge remote-tracking branch 'origin/master' into themer 2016-12-26 13:10:19 +01:00
Dave Davenport
3be5791fb2 Use clipboard atom instead of XCB_ATOM_SECONDARY for pasting.
Should fix issue: #516
2016-12-24 14:13:31 +01:00
Dave Davenport
68b0502220 Merge remote-tracking branch 'origin/master' into themer 2016-12-20 19:34:24 +01:00
Dave Davenport
74a1d0313a Force all three properties of scrollbar to be in sync 2016-12-20 19:29:46 +01:00
Dave Davenport
cd529acd9a Fix typo in resolving theme element. 2016-12-20 10:27:23 +01:00
Dave Davenport
8793475501 Fix and document resolving. 2016-12-20 09:17:19 +01:00
Dave Davenport
9c6019d3d0 Allow theme to set background. 2016-12-19 17:49:52 +01:00
Dave Davenport
7fa4c164ab Merge remote-tracking branch 'origin/master' into themer 2016-12-19 17:35:24 +01:00
Dave Davenport
5b1b8d4d05 Destroy the lexer after parsing 2016-12-19 15:50:35 +01:00