mwcxx/include/MwCXX/Widget/Entry.h

28 lines
641 B
C
Raw Normal View History

2026-04-17 19:42:14 +09:00
#ifndef __MWCXX_WIDGET_ENTRY_H__
#define __MWCXX_WIDGET_ENTRY_H__
#include <MwCXX/MachDep.h>
#include <MwCXX/Widget/Base.h>
#include <Mw/Widget/Entry.h>
namespace MwCXX {
class Entry : public MwCXX::Base {
2026-04-17 22:25:28 +09:00
protected:
virtual void RegisterHandlers();
2026-04-17 21:26:28 +09:00
public:
Entry(MwWidget widget);
Entry(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
2026-04-17 19:42:14 +09:00
2026-04-17 21:26:28 +09:00
MwCXX::String GetText();
void SetText(MwCXX::String value);
int GetHideInput();
void SetHideInput(int value);
2026-04-17 22:25:28 +09:00
virtual void OnActivate() {};
virtual void OnChanged() {};
2026-04-17 19:42:14 +09:00
};
}; // namespace MwCXX
#endif