Implement DrawTitleBarBitmap() for OS X using hard coded PNG images.

Use a simple implementation working under all OS X versions, including 10.4
which doesn't have standard system images for the close button.

Added the images themselves under art/osx and png2c.py helper script to
convert them to a form used in C++ code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-10-05 22:57:32 +00:00
parent 1d3dfc57e7
commit ec20a753b9
7 changed files with 303 additions and 2 deletions

2
art/osx/README Normal file
View File

@@ -0,0 +1,2 @@
The files in this directory are the sources which were converted by
misc/scripts/png2c.py and included in src/osx/carbon/renderer.cpp.

BIN
art/osx/close.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

BIN
art/osx/close_current.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B

BIN
art/osx/close_pressed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 B