mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-19 09:44:30 +01:00
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();
|
||
|
};
|