29 lines
344 B
C++
29 lines
344 B
C++
// -*- C++ -*-
|
|
|
|
enum hadjustment {
|
|
CENTER_ADJUST,
|
|
LEFT_ADJUST,
|
|
RIGHT_ADJUST
|
|
};
|
|
|
|
enum vadjustment {
|
|
NONE_ADJUST,
|
|
ABOVE_ADJUST,
|
|
BELOW_ADJUST
|
|
};
|
|
|
|
struct adjustment {
|
|
hadjustment h;
|
|
vadjustment v;
|
|
};
|
|
|
|
struct text_piece {
|
|
char *text;
|
|
adjustment adj;
|
|
const char *filename;
|
|
int lineno;
|
|
|
|
text_piece();
|
|
~text_piece();
|
|
};
|