mwcxx/include/MwCXX/Widget/Label.h

35 lines
909 B
C
Raw Normal View History

2026-04-17 19:42:14 +09:00
#ifndef __MWCXX_WIDGET_LABEL_H__
#define __MWCXX_WIDGET_LABEL_H__
#include <MwCXX/MachDep.h>
#include <MwCXX/Widget/Base.h>
#include <Mw/Widget/Label.h>
namespace MwCXX {
class Label : 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
Label(MwWidget widget, MwCXX::Base* parent = NULL);
2026-04-17 21:26:28 +09:00
Label(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-09-15 12:00:07 +09:00
void SetText(MwCXX::String value);
int GetAlignment();
void SetAlignment(int value);
int GetBold();
void SetBold(int value);
int GetSevenSegment();
void SetSevenSegment(int value);
int GetLength();
void SetLength(int value);
int GetLeftPadding();
void SetLeftPadding(int value);
2026-04-20 05:29:42 +09:00
void SetSevenSegment(int index, int data);
2026-04-17 19:42:14 +09:00
};
}; // namespace MwCXX
#endif