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:
NishiOwO
2025-10-08 17:16:03 +00:00
parent 7450b17bcf
commit b230521a1a
7 changed files with 97 additions and 4 deletions

26
include/Mw/Widget/Text.h Normal file
View 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

View 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