nuclear@6: #ifndef DRAW_H_ nuclear@6: #define DRAW_H_ nuclear@6: nuclear@6: #ifndef __APPLE__ nuclear@6: #include nuclear@6: #else nuclear@6: #include nuclear@6: #endif nuclear@6: nuclear@6: enum { nuclear@6: IMTK_TEXT_COLOR, nuclear@6: IMTK_BASE_COLOR, nuclear@6: IMTK_FOCUS_COLOR, nuclear@6: IMTK_BEVEL_LIT_COLOR, nuclear@6: IMTK_BEVEL_SHAD_COLOR nuclear@6: }; nuclear@6: nuclear@6: nuclear@6: enum { nuclear@6: FRAME_OUTSET, nuclear@6: FRAME_INSET nuclear@6: }; nuclear@6: nuclear@6: void imtk_set_color(int col, float r, float g, float b, float a); nuclear@6: float *imtk_get_color(int col); nuclear@8: void imtk_draw_rect(int x, int y, int w, int h, float *color_rgba); nuclear@6: void imtk_draw_frame(int x, int y, int w, int h, int style); nuclear@6: void imtk_draw_string(int x, int y, const char *str); nuclear@6: int imtk_string_size(const char *str); nuclear@6: nuclear@6: #endif /* DRAW_H_ */