[Gambas-Notification] [Git][gambas/gambas][master] Simplify and fix the PaintBrush implementation.
Benoît Minisini (@bminisini)
gitlab at mg.gitlab.com
Mon Aug 8 16:20:51 CEST 2022
Benoît Minisini pushed to branch master at Gambas / gambas
Commits:
654daa07 by Benoît Minisini at 2022-08-08T16:20:45+02:00
Simplify and fix the PaintBrush implementation.
[GB.WEB.GUI]
* NEW: Color: Replace 'WebControl._GetColor()' by 'Color.ToHTML()'.
* NEW: Paint: Handle the 'PaintBrush' class directly in the Paint class. The paint driver job is just translating it into javascript.
* NEW: Paint: Remove the javascript generation routine from the Gradient class and move it to the paint driver.
* NEW: Paint: Add the 'Paint.Color' method that creates a color brush.
* NEW: Paint: Move the 'PaintBrush' type constants to the 'PaintDriver' class.
- - - - -
10 changed files:
- comp/src/gb.web.gui/.src/Color.class
- comp/src/gb.web.gui/.src/Paint/Gradient.class
- comp/src/gb.web.gui/.src/Paint/Paint.class
- comp/src/gb.web.gui/.src/Paint/PaintBrush.class
- comp/src/gb.web.gui/.src/Paint/PaintDriver.class
- comp/src/gb.web.gui/.src/Paint/PaintDriver_WebDrawingArea.class
- comp/src/gb.web.gui/.src/Table/WebTable.class
- comp/src/gb.web.gui/.src/Test/FTestDrawingArea.class
- comp/src/gb.web.gui/.src/Tree/WebTree.class
- comp/src/gb.web.gui/.src/WebControl.class
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/654daa0724988aa24e7562290ae3dc00c856e830
--
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/654daa0724988aa24e7562290ae3dc00c856e830
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20220808/43eec18a/attachment-0001.htm>
More information about the Notification
mailing list