Commit Graph

19 Commits

Author SHA1 Message Date
abakkk baf5e7c968 hide square area outline
Hide the square area outline when the drawing area is not reactive.

Fix 58677dc1.
2020-10-21 09:33:40 +02:00
abakkk dd18ca3051 bunch of menu optimizations
* A minimum width for the menu, the same as the aggregate menu, in order to prevent the menu with from growing on submenu open.
* A maximum width for uncontrolled content (font, image and drawing names). Same value and same reason.
* Style the font family labels in idle loop to open the submenu fastly.
* Add the drawing gicons in idle loop to open the submenu smoothly.
2020-09-20 15:40:45 +02:00
abakkk 072adde856 group menu items at the bottom
In addition, 'Save as a SVG file' -> "Export to a SVG file'.
2020-09-17 17:29:59 +02:00
abakkk b63c1e9ffa add possibility to insert an image directly from drawing save (.json)
The Image object is got from the Jsons objects of the openDrawing sub menu.
2020-09-14 22:44:20 +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 7a41c6157c improve menu grouped action items
* Fix style: use 'popup-menu' and 'popup-menu-item' style classes to provide theme colors
* Synchonize button sensitivity
2020-07-13 12:53:01 +02:00
abakkk 19355033ff regroup first menu items
Like old GS system menu.
2020-07-11 22:28:44 +02:00
abakkk 508d7dca3a fix helper OSD display 2020-03-13 17:09:57 +01:00
abakkk 4e3353863c drawing menu style
Reduce menu height.
2020-03-04 09:33:40 +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 17bbe345af new "Open" and "Save" drawing features
* Use a "drawOnYourScreen" subdir in the xdg user data dir
* Info item with the name of the last saved/open json file
* "Open drawing" sub menu with data dir content
* "Save drawing" sub menu with entry
* "Save", "Open previous" and "Open next" keybindings
2020-01-04 00:16:20 +01:00
abakkk 6d27a37478 drawing menu separator item style improvement 2020-01-02 00:32:14 +01:00
abakkk 1c6fa54d69 drawing menu style improvement
* Set 'max-height' property to menu actor.
* Reduce size of menu items.
* Rename 'draw-on-your-screen-menu-separator' style class to 'draw-on-your-screen-menu-separator-item' because it is relative to the item actor, not the item._separator actor.
* Rename 'draw-on-your-screen-separator' style class to 'draw-on-your-screen-helper-separator' not to confuse with menu separator.
2019-12-29 15:26:20 +01:00
abakkk c531fba30c decrease switch and icon size in menu 2019-03-29 22:57:22 +01:00
abakkk f7997b9336 line section and font section visibility depends on shape and fill 2019-03-27 22:11:51 +01:00
abakkk 27ea6a8be9 add context menu 2019-03-26 22:28:24 +01:00
abakkk 0e2360591c add square area 2019-03-07 16:32:06 +01:00
abakkk 8718e219a2 Add transformations
by pressing Ctrl key
rectangle and text: rotate
circle: extend (ellipse) and rotate
line: cubic Bezier curve
2019-03-07 14:28:35 +01:00
abakkk 7f9a3195b4 init 2019-03-05 12:36:59 +01:00