mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-06 17:39:45 +00:00
work on viewport
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@274 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -16,7 +16,6 @@ class Base {
|
||||
private:
|
||||
int can_be_gc;
|
||||
void SetHandler(void);
|
||||
Base(MwWidget widget, int gc = 0);
|
||||
|
||||
public:
|
||||
MwOO::Base MessageBox(const char* title, const char* text, unsigned int flags);
|
||||
@@ -44,6 +43,7 @@ class Base {
|
||||
/* END AUTOGENERATE */
|
||||
|
||||
Base(MwClass widget_class, const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
Base(MwWidget widget, int gc = 0);
|
||||
~Base(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
19
include/MwOO/Widget/Viewport.h
Normal file
19
include/MwOO/Widget/Viewport.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/* $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);
|
||||
void SetBackground(const char* value);
|
||||
const char* GetBackground(void);
|
||||
void SetForeground(const char* value);
|
||||
const char* GetForeground(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user