29 |
#ifndef PG_WIDGETDND_H |
#ifndef PG_WIDGETDND_H |
30 |
#define PG_WIDGETDND_H |
#define PG_WIDGETDND_H |
31 |
|
|
|
#ifdef SWIG |
|
|
%include "swigcommon.h" |
|
|
%module pgwidgetdnd |
|
|
%{ |
|
|
#include "pgwidgetdnd.h" |
|
|
%} |
|
|
#endif |
|
|
|
|
32 |
#include "pgwidget.h" |
#include "pgwidget.h" |
33 |
|
|
34 |
/** |
/** |
48 |
*/ |
*/ |
49 |
PG_WidgetDnD(PG_Widget* parent, int dndID, const PG_Rect& r); |
PG_WidgetDnD(PG_Widget* parent, int dndID, const PG_Rect& r); |
50 |
|
|
|
#ifdef SWIG |
|
|
|
|
|
%name(PG_WidgetDnDEx) PG_WidgetDnD(PG_Widget* parent, int dndID, const PG_Rect& r, bool bCreateSurface); |
|
|
#else |
|
51 |
/** |
/** |
52 |
*/ |
*/ |
53 |
PG_WidgetDnD(PG_Widget* parent, int dndID, const PG_Rect& r, bool bCreateSurface); |
PG_WidgetDnD(PG_Widget* parent, int dndID, const PG_Rect& r, bool bCreateSurface); |
|
#endif |
|
54 |
|
|
55 |
/** |
/** |
56 |
*/ |
*/ |
136 |
SDL_Surface* dragimagecache; |
SDL_Surface* dragimagecache; |
137 |
|
|
138 |
private: // disable the copy operators |
private: // disable the copy operators |
|
#ifndef SWIG |
|
139 |
|
|
140 |
PG_WidgetDnD(const PG_WidgetDnD&); |
PG_WidgetDnD(const PG_WidgetDnD&); |
141 |
PG_WidgetDnD& operator=(const PG_WidgetDnD&); |
PG_WidgetDnD& operator=(const PG_WidgetDnD&); |
|
#endif |
|
142 |
|
|
143 |
}; |
}; |
144 |
|
|