1993-03-21 12:45:37 +03:00
|
|
|
// -*- C++ -*-
|
1993-08-02 21:38:43 +04:00
|
|
|
// $Id: text.h,v 1.2 1993/08/02 17:44:50 mycroft Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
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();
|
|
|
|
};
|