Dave Davenport
804f130d5b
[CodeCY] Cleanup some more warnings given by CodeCY.
2019-02-02 11:53:33 +01:00
Dave Davenport
859a9c79d6
Indent the code.
2018-08-08 15:55:13 +02:00
Maxim Baz
ff9b0f5ccd
Add default shortcuts: Shift+BackSpace to delete previous char, Ctrl+Left/Right for word movements ( #790 )
...
* Support Shift+BackSpace by default to delete previous char
* Support Ctrl+Arrow for word movements
2018-06-13 14:15:31 +02:00
Dave Davenport
9909fb3d71
More documentation fixes
2018-06-12 14:11:08 +02:00
Dave Davenport
32b45c2d10
Fix documentation
...
* theme
* view
* textbox
2018-06-12 12:16:33 +02:00
Dave Davenport
b837c3fdff
Change log domain from Utils.IconFetcher to Helpers.IconFetcher
...
Matches doxygen.
2018-06-12 11:47:03 +02:00
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
2da5e5ee55
[TextBox] Add a reference to the cairo surface when displaying an icon.
2018-05-12 10:40:15 +02:00
Dave Davenport
3a726eabba
Fix how borders are drawn, so it looks correct when transparant. ( #792 )
...
* Try to fix borders a bit.
issue: #783
* Small cleanup to code, add comments to explain variables.
2018-04-08 10:19:43 +02:00
Dave Davenport
f041313efb
Allow theme to override width on box.
2017-12-08 10:48:22 +01:00
Edward Betts
79adae77d7
Correct spelling mistakes. ( #722 )
2017-11-23 18:41:52 +01:00
Dave Davenport
9ae62960c1
Indent files.
2017-10-05 17:45:50 +02:00
Dave Davenport
0596f7c1a1
Correctly center and scale image, even if not rectangular
2017-09-21 19:27:04 +02:00
Dave Davenport
ff4946edaf
Cleanup compiler warnings.
...
- Unused var.
- Missing switch statement.
- Change fallthrough for older compilers.
2017-09-17 18:17:26 +02:00
Dave Davenport
97467fceff
Update small part of doc. set hadle-color on scrollbar in default theme.
2017-09-09 22:09:02 +02:00
Dave Davenport
acfc07a63e
Fix Inherit keyword
2017-09-07 13:46:09 +02:00
Dave Davenport
72f050e2fc
Move enabled into widget.
2017-09-07 08:52:30 +02:00
Dave Davenport
2a5cb6f621
Alias 'color' property name to 'text-color'
2017-09-07 08:35:09 +02:00
Dave Davenport
ae452271ac
Fix sizing of listview rows.
2017-09-06 22:21:48 +02:00
Dave Davenport
6b43fed3aa
use color, background-color and border-color
2017-09-06 19:02:09 +02:00
Dave Davenport
50998b8f04
Flatten hierarchy, don't inherit by default.
...
* add keyword inherit to language parser and theme structure.
2017-09-06 10:03:44 +02:00
Dave Davenport
9b0a430fd4
Indent.
2017-09-05 13:52:44 +02:00
Dave Davenport
ba296f9210
Add ch
as size unit.
2017-09-05 13:52:21 +02:00
Dave Davenport
508e39c3f3
Set cursor to end of input field.
...
Fixes : #662
2017-08-29 10:40:24 +02:00
Dave Davenport
ee9f5f71c1
[TextBox] Remove dead (commented code)
2017-06-26 20:14:31 +02:00
Dave Davenport
e28b038d62
Check user data dir when looking for theme.
...
- set default textbox color to black.
2017-06-22 08:54:29 +02:00
Dave Davenport
26d9da7263
Position the overlay in the top right corner of the listview.
2017-06-12 08:17:28 +02:00
Dave Davenport
c53e6cc20c
Make the compiler STFU about desired fallthroughs.
...
* https://dzone.com/articles/implicit-fallthrough-in-gcc-7
2017-06-12 07:47:44 +02:00
Dave Davenport
067544120f
Make function declaration match function prototype.
...
- Extra NULL check.
2017-06-09 09:18:17 +02:00
Dave Davenport
ad91f9a124
[TextBox] Calculate yalign based on actual side, not estimated size.
2017-06-08 08:46:16 +02:00
Dave Davenport
9fe67c1822
[TextBox] Remove TB_LEFT/CENTER/RIGHT replace with xalign/yalign.
2017-06-07 20:16:14 +02:00
Dave Davenport
07076d154a
Load theme-str after loading fallback themes.
...
* If no theme loaded, try converting old theme.
* If still no theme loaded, try default theme.
* Then load modifications (theme-str option)
2017-06-07 07:53:33 +02:00
Dave Davenport
a399adfa38
[TextBox] Fix centering with large padding
2017-06-06 09:28:36 +02:00
Dave Davenport
27d1da76b1
[TextBox] Fix yalign for cursor and icon.
2017-06-06 09:09:57 +02:00
Dave Davenport
1efb4dab6c
Fix rendering of icons with single font size.
2017-06-04 16:08:34 +02:00
Dave Davenport
e12cf40e54
Change Listview::barview to Listview::layout
2017-06-03 21:46:21 +02:00
Dave Davenport
9a62bfd172
Run indenter.
2017-06-03 20:35:50 +02:00
Quentin Glidic
0adc0d7c08
view: Always create textbox with type
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-03 20:04:21 +02:00
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
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
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
7352f1c2ba
Change PixelWidth to RofiPixelUnit.
2017-06-02 16:21:05 +02:00
Dave Davenport
48bf1709b6
Rename HL_ to ROFI_HL_ and fix box test.
2017-06-02 16:09:20 +02:00
Dave Davenport
eec5c6eadc
Add orientation property.
2017-06-02 14:05:19 +02:00
Dave Davenport
cdc8e462b8
Merge remote-tracking branch 'origin/master' into barview
2017-06-01 14:20:36 +02:00