[Gambas-Notification] [Git][gambas/gambas][master] Style: Add 'Default' constant. It tells the Style routine to use the current...

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Sat Jul 29 15:46:30 CEST 2023



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
f563dd05 by Benoît Minisini at 2023-07-29T15:43:17+02:00
Style: Add 'Default' constant. It tells the Style routine to use the current painted control (if it exists) as a context.

[GB.DRAW]
* NEW: Support for 'Style.Default' constant.

[GB.GTK]
* NEW: Style: Add 'Default' constant. It tells the Style routine to use the current painted control (if it exists) as a context.

[GB.GTK3]
* NEW: Style: Add 'Default' constant. It tells the Style routine to use the current painted control (if it exists) as a context.
* BUG: Style: Painting the backgroud correctly takes the background color into account, unless for active state (i.e. pressed buttons).

[GB.QT4]
* NEW: Style: Add 'Default' constant. It tells the Style routine to use the current painted control (if it exists) as a context.
* NEW: 'Style.StateOf()' always adds the 'Style.Default' constant.

[GB.QT5]
* NEW: Style: Add 'Default' constant. It tells the Style routine to use the current painted control (if it exists) as a context.
* NEW: 'Style.StateOf()' always adds the 'Style.Default' constant.

- - - - -


3 changed files:

- gb.gtk/src/CStyle.cpp
- gb.qt4/src/CStyle.cpp
- main/lib/draw/gb.draw.h


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/f563dd0557afc654ed92f679b14f599074dbfef0

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/f563dd0557afc654ed92f679b14f599074dbfef0
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/20230729/877312f4/attachment.htm>


More information about the Notification mailing list