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