Tweaked the colours a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8dd57590c2
commit
58a1f9d01f
@ -9,9 +9,9 @@ class TestPanel(wx.Panel):
|
||||
wx.Panel.__init__(self, parent, -1)
|
||||
self.Bind(wx.EVT_PAINT, self.OnPaint)
|
||||
|
||||
self.redBmp = self.MakeBitmap(188, 143, 234)
|
||||
self.redBmp = self.MakeBitmap(178, 34, 34)
|
||||
self.greenBmp = self.MakeBitmap( 35, 142, 35)
|
||||
self.blueBmp = self.MakeBitmap(50, 153, 204)
|
||||
self.blueBmp = self.MakeBitmap( 0, 0, 139)
|
||||
|
||||
def MakeBitmap(self, red, green, blue, alpha=128):
|
||||
bmp = wx.EmptyBitmap(100, 100, 32)
|
||||
|
Loading…
Reference in New Issue
Block a user