mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Display the RGBA values of the system colors
This commit is contained in:
@@ -147,6 +147,9 @@ class SysColorPanel(SysPanelBase):
|
|||||||
nextx += self._maxw + 8
|
nextx += self._maxw + 8
|
||||||
dc.DrawRectangle(nextx, nexty, self._box[0], self._box[1])
|
dc.DrawRectangle(nextx, nexty, self._box[0], self._box[1])
|
||||||
|
|
||||||
|
nextx += self._box[0] + 12
|
||||||
|
dc.DrawText('{}'.format(syscolor.Get()), nextx, nexty)
|
||||||
|
|
||||||
nextx = 10
|
nextx = 10
|
||||||
nexty += 20
|
nexty += 20
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user