Commit Graph

20 Commits

Author SHA1 Message Date
abakkk 81bce359f9 improve icons, minor 2020-09-16 13:42:22 +02:00
abakkk cde5bab27d fix icons
* Old Adwaita icon theme does not contain 'view-mirror-symbolic' icon.
* Redraw `tool-no-symbolic.svg` because of bad rendering in old GNOMEs.
2020-09-15 01:48:01 +02:00
abakkk 24682db69c add a lot of icons
* Complete Files.Icons.
* Add a lot of icons in the menu and the osd notifications.
2020-09-12 15:25:42 +02:00
abakkk b3a1a77160 replace user stylesheet with proper drawing settings
Since the most drawing params can be changed via menu or shortcuts, remove default.css and user.css.

* Missing params like palettes, dash, grid, etc, are added to prefs.
* Add palette choice to menu and shortcuts.
* Some defaults like fonts, line width, etc, are no longer modifiable by the user.
2020-08-31 09:43:00 +02:00
abakkk 1172e9da6f new image shape
Images files are picked from `~/DrawOnYourScreen/images/` (and `extensiondir/images/`)
svg, png, jpeg, ...(pixbuf)
2020-08-01 14:08:17 +02:00
abakkk 19355033ff regroup first menu items
Like old GS system menu.
2020-07-11 22:28:44 +02:00
abakkk 06e931ffd2 Fix color icon
Reduce svg size to avoid strange behaviour on menu opened.
2020-06-27 16:23:28 +02:00
abakkk fbe044a2b9 Add text alignment
Left or right.
Replace unused `rtl`.
2020-06-27 15:10:01 +02:00
abakkk 8fae815ed8 Change color and tool icons 2020-06-27 11:42:53 +02:00
abakkk 8519948c3b Render texts with Pango
Cairo "toy" text tool does not render non-latin and emoji characters.
Moreover Pango provides a larger set of font attributes.

Fixes #29, #34
2020-06-26 13:04:28 +02:00
abakkk 579a6bfa32 Persistent attributes
While attributes are not changed in user.css, they are persistent through drawing mode toggling. Css attributes that are modifiable in the user interface are just default attributes.

Close #27
2020-06-23 09:10:25 +02:00
abakkk 15d3efcbd5 user.css
* Add a warning about updates.
* Add alternative color palettes.
* Change background color (pure dark gray).
2020-06-17 17:59:42 +02:00
abakkk 9fc08f8bce dashed line: compute dash attributes from line width (by default) 2020-06-08 22:27:58 +02:00
abakkk 04894a9031 add "file-rule" drawing element attribute 2020-06-08 22:25:26 +02:00
abakkk 0249d12694 css, minor 2020-06-05 22:48:32 +02:00
abakkk 360ac081ce Add grid overlay 2020-06-05 15:58:58 +02:00
abakkk 0ae23a5d10 "Open user.css" -> "Edit style" 2020-03-04 14:23:49 +01:00
abakkk 34c7c8f575 let user customize square area size
Fixes issue #22
2020-03-01 16:56:49 +01:00
abakkk 662f229a64 user.css outside extension directory
* Move drawing style to `default.css`.
* Generate (when opening) and handle `user.css` in `~/.local/share/drawOnYourScreen/`.
2020-01-06 21:24:29 +01:00
abakkk e4d6e327b8 icons/ -> data/icons/ 2020-01-06 15:46:49 +01:00