7 #ifndef WsModImagesGallery_H__
8 #define WsModImagesGallery_H__ 1
10 #include <Wt/WContainerWidget>
11 #include <Wt/WFileUpload>
12 #include <Wt/WProgressBar>
13 #include <Wt/WPushButton>
16 #include <gdcore/gdImage.h>
58 void doPlay(Wt::WPushButton* pButton);
59 void doNext(Wt::WPushButton* pButton);
83 Wt::WWidget*
createContents(Wt::WContainerWidget* parent = 0)
const;
85 Wt::WWidget*
createAdmin(Wt::WContainerWidget* parent = 0)
const;
100 #endif // ifndef WsModImagesGallery_H__
WsEditorWidget * createEditor(Wt::WContainerWidget *parent=0) const
Create the contents for an editor (create a view of options).
std::vector< Magick::Blob > m_vThumbnails
void doThumbClicked(int nImageId)
void setMaxImages(int nMaxImages)
Set the number of images in the menu. If the number of images is more than this value a timer rotate ...
std::vector< std::string > m_vDisplayNames
void WsModImagesGalleryInit(void) __attribute__((constructor))
base class for building a wittyShare module
void doPlay(Wt::WPushButton *pButton)
void doPrevious(Wt::WPushButton *pButton)
WsImagesGallery(Wt::WContainerWidget *parent=0)
CTor.
Wt::WText * m_pImages2Text
std::string description() const
Return the description of the module.
std::vector< std::string > m_vImages
WsModImagesGallery * buildModule()
WContainerWidget * m_cwThumb
Wt::WWidget * createAdmin(Wt::WContainerWidget *parent=0) const
Create the contents for an administrator.
WsModImagesGallery()
CTor.
Wt::WTimer * m_pTimerThumb
Wt::WWidget * createContentsMenuBar(Wt::WContainerWidget *parent=0) const
Create the functionalities.
Wt::WTimer * m_pTimerImage
Wt::WWidget * createContents(Wt::WContainerWidget *parent=0) const
Create the contents.
a wittyShare class that render images randomly
void doNext(Wt::WPushButton *pButton)