Dave Davenport
5bc8ea29a5
Fix converting x,y to cursor position.
2017-06-03 18:39:37 +02:00
Dave Davenport
7c4709a43f
Fix icon sizing, use font size.
2017-06-03 15:36:21 +02:00
Dave Davenport
044c55dd2f
Fix icon offset.
...
- Always add more ()
2017-06-03 14:10:07 +02:00
Dave Davenport
ea7d20d150
Change Orientation enum to RofiOrientation.
2017-06-02 16:34:52 +02:00
Dave Davenport
9915857a2e
Change Distance struct to RofiDistance.
2017-06-02 16:25:47 +02:00
Dave Davenport
cdc8e462b8
Merge remote-tracking branch 'origin/master' into barview
2017-06-01 14:20:36 +02:00
Quentin Glidic
2b6c084f32
textbox: Fix appending more than one character
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:26:19 +02:00
Quentin Glidic
46dee2671d
x11-helper: Rename xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:12:58 +02:00
Quentin Glidic
ac8868f3b1
Indent icon code rework
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-31 20:21:58 +02:00
Dave Davenport
45e76b781e
Merge remote-tracking branch 'origin/master' into barview
2017-05-31 17:52:25 +02:00
Dave Davenport
4e3830a519
[TextBox] Fix icon alignment issue when scaling icon.
2017-05-31 17:52:09 +02:00
Dave Davenport
2c0b398e78
Merge remote-tracking branch 'origin/master' into barview
2017-05-31 11:46:20 +02:00
Dave Davenport
939495f00b
[TextBox] Fix icon offset.
2017-05-31 11:46:02 +02:00
Dave Davenport
f53e58ad95
Merge remote-tracking branch 'origin/master' into barview
2017-05-31 11:25:14 +02:00
Dave Davenport
59e012e85b
[Textbox] fix wrong flag check for icon.
2017-05-31 11:23:24 +02:00
Dave Davenport
d8b0e24b09
Merge remote-tracking branch 'origin/master' into barview
2017-05-31 11:18:30 +02:00
Dave Davenport
4d8784cf85
Port fixes from icon-cleanup branch.
...
- Thread for fetching icons for drun.
- Fixed placing of icons instead of adding place-holder token that can
mis-render.
- Give textbox TB_ICON flag.
2017-05-31 11:05:45 +02:00
Aaron Ash
43053cdfc3
view: Add icon (basic) support
2017-05-30 19:00:57 +02:00
Dave Davenport
9a6fd1c6c3
Merge in master
2017-05-30 16:23:19 +02:00
Quentin Glidic
acc1fa45b9
widget: Add motion grab support
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +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
a5e5493d6b
Add extra NULL checks.
2017-05-28 18:19:59 +02:00
Dave Davenport
28f116b4a2
Allow textbox to be added in theme
2017-05-28 18:05:02 +02:00
Dave Davenport
fa0380057b
[Widget] Add desired width option.
2017-05-28 16:10:11 +02:00
Dave Davenport
0fdb1068da
Allow layout to be overwritten
2017-05-27 17:08:46 +02:00
Dave Davenport
b73f938a82
Set box orientation in theme.
2017-05-26 20:23:46 +02:00
Dave Davenport
e387105091
[TextBox] Add 'vertical-align' option
2017-05-24 19:57:35 +02:00
Dave Davenport
f5c57ff821
[TextBox] Add get_desired_width function.
2017-05-23 09:12:04 +02:00
Dave Davenport
494550d38d
[ThemeParser] Add CSS color names support
...
* [ThemeParser] Add css color names
* Add CSS color support (WIP)
* Parse color names in the lexer.
* Add test for css color names
* Indent and fix ordering
2017-05-15 22:46:33 +02:00
Dave Davenport
c54a817555
If we hit edge of entry box, make left/right move forward to listview.
2017-05-12 16:08:49 +02:00
Dave Davenport
67e38cde40
Fix some clang compiler warnings
2017-05-11 18:30:44 +02:00
Quentin Glidic
7f78031bda
widgets: Use G_PI and G_PI_2 instead of M_PI
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 13:40:16 +02:00
Dave Davenport
cc714f8f91
Fix more compiler warning
2017-05-04 07:56:40 +02:00
Dave Davenport
9afa7682f6
Fix some small warning because get_string returns const.
2017-04-28 09:15:01 +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
50477a0b99
[Keys] Cleanup view a bit.
2017-03-17 14:07:11 +01:00
Dave Davenport
dfeb5940d4
Reduce scope and unneeded check.
2017-03-17 13:33:47 +01:00
Dave Davenport
ee931f5480
[Textbox] Remove unneeded calls to pango_layout_get_baseline.
...
Now bulk time is spend in drawing, not calculating.
2017-03-14 17:12:22 +01:00
Dave Davenport
d52c80d76f
[Textbox] Remove unneeded calls to pango_layout_get_pixel_size.
...
This was 21% of the widget update time.
2017-03-14 17:02:03 +01:00
Dave Davenport
652749081a
Fix missing doxygen documentation
2017-03-11 13:20:46 +01:00
Dave Davenport
cee753bd3c
Zeltakmadness ( #572 )
...
* Allow modi to set extra pango attributes on displayed rows
* Fix some documentation, only highlight the mode name with color.
* Small rename.
2017-03-10 23:39:29 +01:00
Dave Davenport
3f4d58ef53
Indent code.
2017-03-04 19:41:06 +01:00
Dave Davenport
3d2491556e
Fix small issue positioning top of text in entrybox. (I hope)
2017-02-24 09:54:11 +01:00
Dave Davenport
dc7e4aa96e
Install some headers for use in plugins
2017-02-17 14:06:31 +01:00
Dave Davenport
8ef7b4b794
Don't recreate every string everytime.
2017-02-03 20:49:16 +01:00
Dave Davenport
8f4a4d51c6
Don't apply fonts that don't result in family name or have size 0.
...
Issue: 554
2017-02-03 09:54:18 +01:00
Dave Davenport
42a1eba275
Remove the extra layer each textbox keeps for drawing its text. ( #553 )
2017-02-02 20:31:47 +01:00
Dave Davenport
cc0ab10833
Fix malloc in textbox
2017-02-02 08:36:55 +01:00
Dave Davenport
b63e417e38
Add configurable fonts for testing. #544
2017-01-24 08:40:37 +01:00