Replace images in wxRendererMac::DrawTitleBarBitmap() with drawing code.

The low resolution (14x14) bitmaps scaled badly on high resolution displays. A close button suitable for usage inside a window (like wxInfoBar) is not available via HI theme drawing methods. This drawing code tries to emulate a close button, as close as possible to the one found in the Xcode 6+ welcome window.
This commit is contained in:
Tobias Taschner
2015-09-25 15:20:05 +02:00
parent 4a3f3f4ed7
commit e0cb697991
6 changed files with 32 additions and 201 deletions

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 458 B