mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 08:00:50 +00:00
work on text widget
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@227 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
26
include/Mw/Widget/Text.h
Normal file
26
include/Mw/Widget/Text.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/* $Id$ */
|
||||
/*!
|
||||
* %file Mw/Widget/Text.h
|
||||
* %brief Text widget
|
||||
* %prop MwNchecked
|
||||
*/
|
||||
#ifndef __MW_WIDGET_TEXT_H__
|
||||
#define __MW_WIDGET_TEXT_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* %brief Text widget class
|
||||
*/
|
||||
MWDECL MwClass MwTextClass;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
16
include/MwOO/Widget/Text.h
Normal file
16
include/MwOO/Widget/Text.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/* $Id$ */
|
||||
#ifndef __MWOO_WIDGET_TEXT_H__
|
||||
#define __MWOO_WIDGET_TEXT_H__
|
||||
|
||||
#include <MwOO/Base.h>
|
||||
|
||||
namespace MwOO {
|
||||
class Text : public MwOO::Base {
|
||||
public:
|
||||
Text(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
|
||||
void SetChecked(int value);
|
||||
int GetChecked(void);
|
||||
};
|
||||
} // namespace MwOO
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user