Commit Graph

329 Commits

Author SHA1 Message Date
abakkk 1abe0b735f Fix image submenu items sorting
Uppercases, non-ascii characters, etc
2020-08-05 23:34:40 +02:00
abakkk c78f5e82da Extend font family possibilities
To fix in the future: memory usage of font-styled item labels
2020-08-05 23:30:25 +02:00
abakkk 80e2955f8c fix menu item name and sensitivity stynchronization 2020-08-05 02:49:52 +02:00
abakkk 408929848d minor, property name 2020-08-05 02:13:56 +02:00
abakkk 11b90ecc0a put json file stuff in files.js
In the same way than image files.
2020-08-05 02:01:17 +02:00
abakkk e686f03082 minor, remove Lang.bind 2020-08-01 15:00:49 +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 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 352f86018b center grid overlay 2020-07-11 22:42:48 +02:00
abakkk 19355033ff regroup first menu items
Like old GS system menu.
2020-07-11 22:28:44 +02:00
abakkk 813d6b0f1b Show the textEntry when ibusCandidatePopup is visible 2020-07-11 15:59:08 +02:00
abakkk e8140eae88 Text elements as a separated class 2020-07-08 11:47:51 +02:00
abakkk 96efac1e3f draw.js -> area.js 2020-07-04 08:42:45 +02:00
abakkk ca96e76d12 draw-to-elements 5 2020-07-04 08:35:59 +02:00
abakkk 78be404571 draw-to-elements 4
Merge branch 'elements' into draw-to-elements
2020-07-03 23:37:52 +02:00
abakkk f4909e021d draw-to-elements 3 2020-07-03 23:37:09 +02:00
abakkk 35980726fe draw-to-elements 2 2020-07-03 23:32:26 +02:00
abakkk b2b6a6a8fe draw-to-elements 1 2020-07-03 23:27:52 +02:00
abakkk 92e1c0d299 osd.js -> helper.js 2020-07-03 23:25:20 +02:00
abakkk 0c311ae477 draw-to-osd 5 2020-07-03 23:16:43 +02:00
abakkk 303a93b721 draw-to-osd 4
Merge branch 'osd' into draw-to-osd
2020-07-03 23:09:39 +02:00
abakkk 9269022d0f draw-to-osd 3 2020-07-03 23:08:50 +02:00
abakkk 27872b84db draw-to-osd 2 2020-07-03 23:03:09 +02:00
abakkk da7ad4069a draw-to-osd 1 2020-07-03 22:59:54 +02:00
abakkk ef51bb8bf9 draw-to-menu 5 2020-07-03 22:51:23 +02:00
abakkk 34baae6df2 draw-to-menu 4
Merge branch 'menu' into draw-to-menu
2020-06-30 23:44:41 +02:00
abakkk 1abdb528a2 draw-to-menu 3 2020-06-30 23:43:52 +02:00
abakkk 9b7e7cc3cb draw-to-menu 2 2020-06-30 23:41:54 +02:00
abakkk 80163fcca8 draw-to-menu 1 2020-06-30 23:40:15 +02:00
abakkk 3ddaa28400 Update Simplified Chinese translation
related to #34, #35
2020-06-30 14:43:58 +02:00
abakkk 8ce87b8f1f Create french translation
related to #35
2020-06-30 14:33:49 +02:00
abakkk 55efba0b3c Small pot fix
"stroke" -> "outline"

related to #35
2020-06-30 13:01:47 +02:00
abakkk 1e8a9492ba Merge branch 'dev' into 'master'
v6.1

Closes #28, #31, #30, #27, #34, and #29

See merge request abakkk/DrawOnYourScreen!12
2020-06-29 16:07:29 +02:00
abakkk 040b0138bb version -> v6.1 2020-06-29 15:58:09 +02:00
abakkk 3f0fce3bc6 Add "duplicate an element" how-to in readme 2020-06-29 15:40:37 +02:00
abakkk e50a8c80a7 "Modeless/modal" -> "Grab/ungrab keyboard and pointer"
And add an OSD notification.
2020-06-29 12:21:21 +02:00
abakkk 0d42d69f91 Pointer cursor when writing 2020-06-28 18:37:42 +02:00
abakkk 9199fbd82b Reorder pot file 2020-06-28 18:28:15 +02:00
abakkk be36fd4de2 Prefs, notifications and pot file
* Add a long timeout for some OSD notifications.
* Change some pref strings.
* "Stroke" -> "Outline"
* Clean pot file
2020-06-28 18:27:23 +02:00
abakkk f02d076ce2 GS 3.24 compatibility 2020-06-27 22:35:43 +02:00
abakkk 75c20c34d2 Fix elementGrabberHandler
* Do not start several handler.
* Do not stop handler when toggling drawing mode.
2020-06-27 22:31:31 +02:00
abakkk 6a5481ff05 Clean prefs and fix pot file 2020-06-27 16:55:26 +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 dc73000a1d Minor, reorder pot file 2020-06-27 14:00:21 +02:00
abakkk c5f604a80a Evenodd switch and svg attributes
* Menu: `fillRule` submenu -> `Evenodd` switch.
* Rework SVG attributes in order to bypass useless attributes.
* Fix gjs bug: `Cairo.LineCap.SQUASH` -> `SQUARE`.
* Not to draw dashes if dash.array is `[0, 0]` (case line width is 0).
2020-06-27 13:59:07 +02:00
abakkk 8fae815ed8 Change color and tool icons 2020-06-27 11:42:53 +02:00
abakkk e341b36d65 cr.$dispose on painting error
Put repaint process in a "try catch" so cr.$dispose is always called.
2020-06-27 11:41:46 +02:00
abakkk 119c6725ef Font stretch and variant
Add minimal (no UI) `font-stretch` and `font-variant` support.
`font-stretch` css attribute is not recognized.
Cannot find a working usage for both.
2020-06-26 19:01:56 +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