clay/include/clay-text.h

21 lines
473 B
C

#ifndef CLAYOUT_CLAY_TEXT_H
#define CLAYOUT_CLAY_TEXT_H
enum clay_text_align_e {
CLAY_TEXT_ALIGN_LEFT = 0,
CLAY_TEXT_ALIGN_CENTER = 1,
CLAY_TEXT_ALIGN_RIGHT = 2,
};
enum clay_text_vertical_align_e {
CLAY_TEXT_VERTICAL_ALIGN_TOP = 0,
CLAY_TEXT_VERTICAL_ALIGN_MIDDLE = 1,
CLAY_TEXT_VERTICAL_ALIGN_BOTTOM = 2,
};
clay clay_create_text(clay_ctx);
void clay_text_register_props(clay_ctx ctx); // todo: should be private
#endif //CLAYOUT_CLAY_TEXT_H