]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: src/palmos/icon.cpp | |
3 | // Purpose: wxIcon class | |
4 | // Author: William Osborne - minimal working wxPalmOS port | |
5 | // Modified by: | |
6 | // Created: 10/13/04 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) William Osborne | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | // ============================================================================ | |
13 | // declarations | |
14 | // ============================================================================ | |
15 | ||
16 | // ---------------------------------------------------------------------------- | |
17 | // headers | |
18 | // ---------------------------------------------------------------------------- | |
19 | ||
20 | // For compilers that support precompilation, includes "wx.h". | |
21 | #include "wx/wxprec.h" | |
22 | ||
23 | #ifdef __BORLANDC__ | |
24 | #pragma hdrstop | |
25 | #endif | |
26 | ||
27 | #include "wx/icon.h" | |
28 | ||
29 | #ifndef WX_PRECOMP | |
30 | #include "wx/list.h" | |
31 | #include "wx/utils.h" | |
32 | #include "wx/app.h" | |
33 | #include "wx/bitmap.h" | |
34 | #include "wx/log.h" | |
35 | #endif | |
36 | ||
37 | // ---------------------------------------------------------------------------- | |
38 | // wxWin macros | |
39 | // ---------------------------------------------------------------------------- | |
40 | ||
41 | IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxGDIObject) | |
42 | ||
43 | // ============================================================================ | |
44 | // implementation | |
45 | // ============================================================================ | |
46 | ||
47 | // ---------------------------------------------------------------------------- | |
48 | // wxIconRefData | |
49 | // ---------------------------------------------------------------------------- | |
50 | ||
51 | void wxIconRefData::Free() | |
52 | { | |
53 | } | |
54 | ||
55 | // ---------------------------------------------------------------------------- | |
56 | // wxIcon | |
57 | // ---------------------------------------------------------------------------- | |
58 | ||
59 | wxIcon::wxIcon(const char bits[], int width, int height) | |
60 | { | |
61 | } | |
62 | ||
63 | wxIcon::wxIcon(const wxString& iconfile, | |
64 | long flags, | |
65 | int desiredWidth, | |
66 | int desiredHeight) | |
67 | ||
68 | { | |
69 | } | |
70 | ||
71 | wxIcon::wxIcon(const wxIconLocation& loc) | |
72 | { | |
73 | } | |
74 | ||
75 | wxIcon::~wxIcon() | |
76 | { | |
77 | } | |
78 | ||
79 | void wxIcon::CopyFromBitmap(const wxBitmap& bmp) | |
80 | { | |
81 | } | |
82 | ||
83 | void wxIcon::CreateIconFromXpm(const char **data) | |
84 | { | |
85 | } | |
86 | ||
87 | bool wxIcon::LoadFile(const wxString& filename, | |
88 | long type, | |
89 | int desiredWidth, int desiredHeight) | |
90 | { | |
91 | return false; | |
92 | } |