22 #ifndef OTAWA_DISPLAY_DISPLAY_H
23 #define OTAWA_DISPLAY_DISPLAY_H
25 #include <elm/string.h>
27 namespace otawa {
namespace display {
37 Color(comp_t red, comp_t green, comp_t blue);
40 inline const string&
asText(
void)
const {
return text; }
50 static const int NORMAL = 0x00;
51 static const int BOLD = 0x01;
52 static const int ITALIC = 0x02;
53 static const int UNDERLINE = 0x04;
LineStyle line
Style used to draw the border of the shape.
Definition: display.h:120
Color color
Color the displayed text.
Definition: display.h:60
fill_t fill
Fill style of the area.
Definition: display.h:93
Definition: display.h:107
FillStyle(void)
Definition: display.h:90
Definition: display.h:111
style_t
Definition: Graph.h:31
Color color
Background color.
Definition: display.h:92
int weight
The wright of the line : 0 for minimal line width.
Definition: display.h:77
ShapeStyle(void)
Definition: display.h:116
shape_t shape
The used shape (one of SHAPE_xxx).
Definition: display.h:118
string text
Definition: display.h:43
The style of a filled area.
Definition: display.h:83
Description of the style of text.
Definition: display.h:48
string name
Name of the text font.
Definition: display.h:57
Definition: display.h:106
LineStyle(void)
Definition: display.h:74
int size
The size of the font.
Definition: display.h:59
Shape style.
Definition: display.h:98
const string & asText(void) const
Definition: display.h:40
word_t fill(int size, bool init)
Definition: display.h:108
Color(void)
Definition: display.h:36
Definition: display.h:112
shape_t
Definition: display.h:100
Definition: display.h:102
int style
Style of the displayed text.
Definition: display.h:58
Definition: display.h:109
style_t
Definition: display.h:67
fill_t
Definition: display.h:85
t::uint8 comp_t
Definition: display.h:34
Definition: display.h:105
cstring name
Definition: odisasm.cpp:107
A color description.
Definition: display.h:32
Definition: display.h:110
Definition: display.h:103
TextStyle(void)
Definition: display.h:55
FillStyle fill
Style used to fill the shape.
Definition: display.h:119
Color color
The color of the line.
Definition: display.h:76
style_t style
The style of the line : one of HIDDEN, PLAIN, DOTTED or DASHED.
Definition: display.h:78
Definition: display.h:104
TextStyle text
Style to draw text in the shape.
Definition: display.h:121