| 1234567891011121314151617181920212223242526272829 |
- #pragma once
- #include "UIWidget.h"
- namespace Atomic
- {
- class UIImageWidget : public UIWidget
- {
- OBJECT(UIImageWidget)
- public:
- UIImageWidget(Context* context, bool createWidget = true);
- virtual ~UIImageWidget();
- void SetImage(const String& imagePath);
- protected:
- virtual bool OnEvent(const tb::TBWidgetEvent &ev);
- private:
- };
- }
|