2025-10-11 14:33:56 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
#ifndef __MWOO_WIDGET_VIEWPORT_H__
|
|
|
|
|
#define __MWOO_WIDGET_VIEWPORT_H__
|
|
|
|
|
|
|
|
|
|
#include <MwOO/Base.h>
|
|
|
|
|
|
|
|
|
|
namespace MwOO {
|
|
|
|
|
class Viewport : public MwOO::Base {
|
|
|
|
|
public:
|
|
|
|
|
Viewport(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
|
|
|
|
MwOO::Base GetViewport(void);
|
2025-10-11 15:03:56 +00:00
|
|
|
void SetSize(int w, int h);
|
2025-10-11 14:33:56 +00:00
|
|
|
void SetBackground(const char* value);
|
|
|
|
|
const char* GetBackground(void);
|
|
|
|
|
void SetForeground(const char* value);
|
|
|
|
|
const char* GetForeground(void);
|
|
|
|
|
};
|
|
|
|
|
} // namespace MwOO
|
|
|
|
|
|
|
|
|
|
#endif
|