23 lines
552 B
C++
23 lines
552 B
C++
#ifndef __MWCXX_WIDGET_VIEWPORT_H__
|
|
#define __MWCXX_WIDGET_VIEWPORT_H__
|
|
|
|
#include <MwCXX/MachDep.h>
|
|
#include <MwCXX/Widget/Base.h>
|
|
|
|
#include <Mw/Widget/Viewport.h>
|
|
|
|
namespace MwCXX {
|
|
class Viewport : public MwCXX::Base {
|
|
protected:
|
|
virtual void RegisterHandlers();
|
|
|
|
public:
|
|
Viewport(MwWidget widget, MwCXX::Base* parent = NULL);
|
|
Viewport(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
|
|
|
MwCXX::Base* GetViewport();
|
|
void SetSize(int w, int h);
|
|
};
|
|
}; // namespace MwCXX
|
|
|
|
#endif
|