Commit Graph

39 Commits

Author SHA1 Message Date
Tobias Taschner
e0cb697991 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.
2016-01-05 14:51:04 +01:00
Artur Wieczorek
75467841ee Moved "edit" icon from wxEditableListBox to wxArtProvider.
"Edit" icon definition used internally in wxEditableListBox is moved to
wxDefaultArtProvider and exposed as wxART_EDIT.

While there is no native version of this icon yet, it could be added in the
future and in the meanwhile this commit will be useful to use only standard
bitmaps in wxEditableListBox.
2015-08-09 01:39:41 +02:00
Vadim Zeitlin
3ee12b2ca9 Convert all XPM files to Unix EOLs.
Just as the normal sources (*.h, *.cpp), these files should be using LF and
not CR LF.
2015-03-19 21:46:05 +01:00
Vadim Zeitlin
793187de9d Add wxART_FULL_SCREEN icon.
Use stock GTK+ icon in wxGTK and Tango icon elsewhere.

See #2662.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-10-11 16:30:06 +00:00
Vadim Zeitlin
c1d2466a79 Add wxArtProvider using Tango icons.
The icons are embedded as PNG images directly in the source code to avoid the
need for installing them. This does make the library larger though so provide
a wxUSE_ARTPROVIDER_TANGO option to turn the new code and associated bloat off.
Also turn it off by default under wxGTK as the native art provider is used
there anyhow.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-31 17:39:25 +00:00
Vadim Zeitlin
a7cfad3ad6 Add go to first/last and plus/minus art provider icons.
These icons will be used in the upcoming new implementation of the print
preview frame and as they are also natively supported by GTK+ it makes sense
to have support for them in wx itself.

Notice that the existing bookmark add/remove icons are already mapped to the
icons which look like plus and minus signs respectively in wxGTK but we need
plus/minus in print preview in the other ports too so add these icons under
explicit names.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-31 17:39:01 +00:00
Vadim Zeitlin
ec20a753b9 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
2009-10-05 22:57:32 +00:00
Vadim Zeitlin
b9727751aa Added wxART_CLOSE art id.
This id corresponds to the close button bitmap. Currently only wxGTK returns a
natively-looking button from here, MSW and OS X versions will be added later.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-05 22:55:53 +00:00
Bryan Petty
cecbc293c7 Updated wxWidgets icons in art to use the new official logo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 18:20:38 +00:00
Vadim Zeitlin
747d7d7c15 made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 01:39:44 +00:00
Vadim Zeitlin
421d214fa9 converted XPMs to Unix EOLs, otherwise some Unix compilers don't like them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-21 15:41:43 +00:00
Julian Smart
5e711f771a Made the colours more muted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 14:21:07 +00:00
Julian Smart
c865a59dd5 Fixed images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 21:02:57 +00:00
Julian Smart
83a419453d Replaced image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 20:49:05 +00:00
Julian Smart
ec3b73b8fa Fixed image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 20:47:59 +00:00
Julian Smart
aadb4d67c8 Artwork replacement (c) Julian Smart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 20:29:11 +00:00
Robin Dunn
406011a83d Some tweaks to the temporary art images, added wxART_NEW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 19:15:45 +00:00
Robin Dunn
d00016f53f delete_ --> delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-25 18:01:57 +00:00
Robin Dunn
ec6803d965 Some placeholder images to use until we get those that are being
professionally done.  These fill out most of the art IDs that don't
currently have images in the standard provider.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-24 20:52:12 +00:00
Julian Smart
d55cb3a3a5 Updated images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-18 13:44:47 +00:00
Julian Smart
926a18835e Fixed transparency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-17 20:30:24 +00:00
Julian Smart
a55c76fe40 Use Rob O'Connor's icons, provided under the wxWindows Licence
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-16 14:01:36 +00:00
Julian Smart
7d0bbd18ed Further icon replacement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-15 21:24:01 +00:00
Julian Smart
2d5a1ddc2f New icons (c) Julian Smart, wxWindows Licence
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-15 19:01:08 +00:00
Vadim Zeitlin
f686d8ad4f further resized icons to 16*15 (still patch 1151163)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 16:42:51 +00:00
Vadim Zeitlin
1813c06b6b cropped icons to 16*16 (patch 1151163)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 15:57:19 +00:00
Robert Roebling
ddf6088b1e Added new Art which GTK+ 2.4 defines and
which we should use.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:23:47 +00:00
Robert Roebling
a96f1024e3 Updated exefile and default file icons to newer look.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 00:31:47 +00:00
Václav Slavík
58b2e303b1 nicer tick and fixed home icons (patch #820767)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-14 07:30:08 +00:00
Václav Slavík
fd397f9966 use wxART_MISSING_IMAGE in wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 18:08:44 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Václav Slavík
fe593c8ac3 use some Audacity icons in wxHTML instead of my uglu ones (with author's permission)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 22:03:35 +00:00
Václav Slavík
e00fab7aea moved the rest of XPMs in /include/wx/generic to /art
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:27:08 +00:00
Václav Slavík
00958db524 port proplist.cpp to wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 23:22:02 +00:00
Václav Slavík
60d2cc2571 use wxArtProvider in wxFileDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:20:41 +00:00
Václav Slavík
3516d3e8fe used wxArtProvider in wxTipDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:49:28 +00:00
Václav Slavík
f3d3d61a22 rellocated art XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:43:21 +00:00
Václav Slavík
57b0987bb9 (hopefully) final touches to wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:42:39 +00:00
Václav Slavík
2aca4a9886 added wxArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 23:40:25 +00:00