]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Menu.h
major refactor of texture system
[lugaru.git] / Source / Menu.h
index a4a2e9c5b90a92a042a14887faae856615cbd0f1..6a1911af746c6735afc67831e91fba17f27d3436 100644 (file)
@@ -7,10 +7,10 @@ namespace Menu {
     void clearMenu();
     void addLabel(int id,const string& text,int x,int y,float r=1,float g=0,float b=0);
     void addButton(int id,const string& text,int x,int y,float r=1,float g=0,float b=0);
-    void addImage(int id,int texture,int x,int y,int w,int h,float r=1,float g=1,float b=1);
-    void addButtonImage(int id,int texture,int x,int y,int w,int h,float r=1,float g=1,float b=1);
+    void addImage(int id,Texture texture,int x,int y,int w,int h,float r=1,float g=1,float b=1);
+    void addButtonImage(int id,Texture texture,int x,int y,int w,int h,float r=1,float g=1,float b=1);
     void addMapLine(int x, int y, int w, int h, float startsize, float endsize, float r,float g,float b);
-    void addMapMarker(int id,int texture,int x,int y,int w,int h,float r,float g,float b);
+    void addMapMarker(int id,Texture texture,int x,int y,int w,int h,float r,float g,float b);
     void addMapLabel(int id,const string& text,int x,int y,float r=1,float g=0,float b=0);
     void setText(int id,const string& text);
     void setText(int id,const string& text,int x,int y,int w,int h);