]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/dragimag.cpp
Rebake after recguard.h added to bakefiles
[wxWidgets.git] / src / palmos / dragimag.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/dragimag.cpp
3 // Purpose: wxDragImage
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 "dragimag.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 #if wxUSE_DRAGIMAGE
32
33 #ifndef WX_PRECOMP
34 #include <stdio.h>
35 #include "wx/setup.h"
36 #include "wx/window.h"
37 #include "wx/dcclient.h"
38 #include "wx/dcscreen.h"
39 #include "wx/dcmemory.h"
40 #include "wx/settings.h"
41 #endif
42
43 #include "wx/log.h"
44 #include "wx/intl.h"
45 #include "wx/frame.h"
46 #include "wx/image.h"
47
48 #include "wx/palmos/dragimag.h"
49 #include "wx/palmos/private.h"
50
51 // ----------------------------------------------------------------------------
52 // macros
53 // ----------------------------------------------------------------------------
54
55 IMPLEMENT_DYNAMIC_CLASS(wxDragImage, wxObject)
56
57 #define GetHimageList() ((HIMAGELIST) m_hImageList)
58
59 // ============================================================================
60 // implementation
61 // ============================================================================
62
63 // ----------------------------------------------------------------------------
64 // wxDragImage ctors/dtor
65 // ----------------------------------------------------------------------------
66
67 wxDragImage::wxDragImage()
68 {
69 }
70
71 wxDragImage::~wxDragImage()
72 {
73 }
74
75 void wxDragImage::Init()
76 {
77 }
78
79 // Attributes
80 ////////////////////////////////////////////////////////////////////////////
81
82
83 // Operations
84 ////////////////////////////////////////////////////////////////////////////
85
86 // Create a drag image from a bitmap and optional cursor
87 bool wxDragImage::Create(const wxBitmap& image, const wxCursor& cursor)
88 {
89 return false;
90 }
91
92 // Create a drag image from an icon and optional cursor
93 bool wxDragImage::Create(const wxIcon& image, const wxCursor& cursor)
94 {
95 return false;
96 }
97
98 // Create a drag image from a string and optional cursor
99 bool wxDragImage::Create(const wxString& str, const wxCursor& cursor)
100 {
101 return false;
102 }
103
104 #if wxUSE_TREECTRL
105 // Create a drag image for the given tree control item
106 bool wxDragImage::Create(const wxTreeCtrl& treeCtrl, wxTreeItemId& id)
107 {
108 return false;
109 }
110 #endif
111
112 #if wxUSE_LISTCTRL
113 // Create a drag image for the given list control item
114 bool wxDragImage::Create(const wxListCtrl& listCtrl, long id)
115 {
116 return false;
117 }
118 #endif
119
120 // Begin drag
121 bool wxDragImage::BeginDrag(const wxPoint& hotspot, wxWindow* window, bool fullScreen, wxRect* rect)
122 {
123 return false;
124 }
125
126 // Begin drag. hotspot is the location of the drag position relative to the upper-left
127 // corner of the image. This is full screen only. fullScreenRect gives the
128 // position of the window on the screen, to restrict the drag to.
129 bool wxDragImage::BeginDrag(const wxPoint& hotspot, wxWindow* window, wxWindow* fullScreenRect)
130 {
131 return false;
132 }
133
134 // End drag
135 bool wxDragImage::EndDrag()
136 {
137 return false;
138 }
139
140 // Move the image: call from OnMouseMove. Pt is in window client coordinates if window
141 // is non-NULL, or in screen coordinates if NULL.
142 bool wxDragImage::Move(const wxPoint& pt)
143 {
144 return false;
145 }
146
147 bool wxDragImage::Show()
148 {
149 return false;
150 }
151
152 bool wxDragImage::Hide()
153 {
154 return false;
155 }
156
157
158 #endif // wxUSE_DRAGIMAGE