]>
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 | #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) | |
21 | #pragma implementation "icon.h" | |
22 | #endif | |
23 | ||
24 | // For compilers that support precompilation, includes "wx.h". | |
25 | #include "wx/wxprec.h" | |
26 | ||
27 | #ifdef __BORLANDC__ | |
28 | #pragma hdrstop | |
29 | #endif | |
30 | ||
31 | #ifndef WX_PRECOMP | |
32 | #include "wx/defs.h" | |
33 | #include "wx/list.h" | |
34 | #include "wx/utils.h" | |
35 | #include "wx/app.h" | |
36 | #include "wx/icon.h" | |
37 | #include "wx/bitmap.h" | |
38 | #include "wx/log.h" | |
39 | #endif | |
40 | ||
41 | // ---------------------------------------------------------------------------- | |
42 | // wxWin macros | |
43 | // ---------------------------------------------------------------------------- | |
44 | ||
45 | IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxGDIObject) | |
46 | ||
47 | // ============================================================================ | |
48 | // implementation | |
49 | // ============================================================================ | |
50 | ||
51 | // ---------------------------------------------------------------------------- | |
52 | // wxIconRefData | |
53 | // ---------------------------------------------------------------------------- | |
54 | ||
55 | void wxIconRefData::Free() | |
56 | { | |
57 | } | |
58 | ||
59 | // ---------------------------------------------------------------------------- | |
60 | // wxIcon | |
61 | // ---------------------------------------------------------------------------- | |
62 | ||
63 | wxIcon::wxIcon(const char bits[], int width, int height) | |
64 | { | |
65 | } | |
66 | ||
67 | wxIcon::wxIcon(const wxString& iconfile, | |
68 | long flags, | |
69 | int desiredWidth, | |
70 | int desiredHeight) | |
71 | ||
72 | { | |
73 | } | |
74 | ||
75 | wxIcon::wxIcon(const wxIconLocation& loc) | |
76 | { | |
77 | } | |
78 | ||
79 | wxIcon::~wxIcon() | |
80 | { | |
81 | } | |
82 | ||
83 | void wxIcon::CopyFromBitmap(const wxBitmap& bmp) | |
84 | { | |
85 | } | |
86 | ||
87 | void wxIcon::CreateIconFromXpm(const char **data) | |
88 | { | |
89 | } | |
90 | ||
91 | bool wxIcon::LoadFile(const wxString& filename, | |
92 | long type, | |
93 | int desiredWidth, int desiredHeight) | |
94 | { | |
95 | return false; | |
96 | } | |
97 |