mwcxx/include/MwCXX/Widget/Entry.h

31 lines
749 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:
2026-04-18 01:05:20 +09:00
Entry(MwWidget widget, MwCXX::Base* parent = NULL);
2026-04-17 21:26:28 +09:00
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();
2026-04-18 19:46:43 +09:00
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-18 02:31:46 +09:00
void (*ActivateHandler)(MwCXX::Entry* widget);
void (*ChangedHandler)(MwCXX::Entry* widget);
2026-04-17 19:42:14 +09:00
};
}; // namespace MwCXX
#endif