35 lines
909 B
C++
35 lines
909 B
C++
#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 {
|
|
protected:
|
|
virtual void RegisterHandlers();
|
|
|
|
public:
|
|
Label(MwWidget widget, MwCXX::Base* parent = NULL);
|
|
Label(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
|
|
|
MwCXX::String GetText();
|
|
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);
|
|
|
|
void SetSevenSegment(int index, int data);
|
|
};
|
|
}; // namespace MwCXX
|
|
|
|
#endif
|