Last change
on this file since 450 was
272,
checked in by garnier, 11 years ago
|
Ameliorations graphiques et re-identation
|
File size:
702 bytes
|
Rev | Line | |
---|
[223] | 1 | #ifndef GWT_DRAGGABLEIMAGE_SEEN |
---|
| 2 | #define GWT_DRAGGABLEIMAGE_SEEN |
---|
| 3 | |
---|
| 4 | #include <Wt/WImage> |
---|
| 5 | |
---|
| 6 | using namespace Wt; |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | class GWt_draggableImage : public WImage |
---|
| 10 | { |
---|
[272] | 11 | public : |
---|
| 12 | |
---|
| 13 | GWt_draggableImage(const WLink &,const WString &,WContainerWidget *parent=0); |
---|
| 14 | GWt_draggableImage(const WLink &,WContainerWidget *parent=0); |
---|
| 15 | ~GWt_draggableImage(); |
---|
| 16 | |
---|
| 17 | protected: |
---|
| 18 | void mouseOver(const WMouseEvent &e ); |
---|
| 19 | void mouseOut(const WMouseEvent &e ); |
---|
| 20 | void mouseUp(const WMouseEvent &e ); |
---|
| 21 | void mouseDown(const WMouseEvent &e ); |
---|
| 22 | void mouseIsDragged(const WMouseEvent &e ); |
---|
| 23 | void setChangeCursorOnMouseOver(bool); |
---|
| 24 | |
---|
| 25 | bool changeCursorOnMouseOver_; |
---|
| 26 | |
---|
| 27 | private: |
---|
| 28 | void init(); |
---|
[223] | 29 | }; |
---|
| 30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.