]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - ui.h
added cl_screen.c/h (eventually most 2D stuff should be moved here)
[xonotic/darkplaces.git] / ui.h
diff --git a/ui.h b/ui.h
index a9b94688c9fd58a286f8ae7ab5bfade2f96daef0..71b4ec91406510ac618494e39a4be07aefc05b2f 100644 (file)
--- a/ui.h
+++ b/ui.h
@@ -11,7 +11,7 @@ typedef struct
 {
        char name[32];
        int flags;
-       qpic_t *draw_pic;
+       char *draw_picname;
        char *draw_string;
        int draw_x, draw_y;
        int click_x, click_y, click_x2, click_y2;
@@ -65,7 +65,7 @@ void ui_clear(ui_t *ui);
 void ui_item
 (
        ui_t *ui, char *basename, int number,
-       float x, float y, qpic_t *pic, char *string,
+       float x, float y, char *picname, char *string,
        float left, float top, float width, float height,
        void(*leftkey)(void *nativedata1, void *nativedata2, float data1, float data2),
        void(*rightkey)(void *nativedata1, void *nativedata2, float data1, float data2),