26 lines
429 B
C++
26 lines
429 B
C++
#ifndef TEXT_BLOCK_H
|
|
#define TEXT_BLOCK_H
|
|
|
|
#include "TextBlock_t.hpp"
|
|
|
|
#include "PositionalProperties_t.hpp"
|
|
|
|
//namespace myink { namespace ui {
|
|
class TextBlock
|
|
{
|
|
|
|
private:
|
|
const TextBlockStyleProperties & style;
|
|
const char * text;
|
|
|
|
public:
|
|
TextBlock(const char * text, const TextBlockStyleProperties & style);
|
|
~TextBlock();
|
|
|
|
PositionalProperties draw(const PositionalProperties & pos);
|
|
};
|
|
|
|
//}}
|
|
|
|
|
|
#endif |