X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FMenu.h;h=b581fe25283ffcee693407cd523e3f72d7bee704;hb=123ca72f7a92d2529c6f9b6bdff3f13d6f0223c9;hp=175a7114501afcd4ad1e75bfb61115c8b790f28c;hpb=795bcbebfc3a63f374f8da0790af5b7105adb68a;p=l2e.git diff --git a/src/graphics/Menu.h b/src/graphics/Menu.h index 175a711..b581fe2 100644 --- a/src/graphics/Menu.h +++ b/src/graphics/Menu.h @@ -9,6 +9,7 @@ #define GRAPHICS_MENU_H_ #include "Font.h" +#include "fwd.h" #include "Sprite.h" #include "../geometry/Vector.h" @@ -17,8 +18,6 @@ namespace graphics { -class Sprite; - struct MenuProperties { const Font *font; const Font *disabledFont; @@ -43,6 +42,10 @@ struct MenuProperties { MenuProperties(const Font *font, const Font *disabledFont, const Sprite *cursor, int charsPerEntry, int rows, int rowGap, int iconSpace, int cols, int colGap, int charsPerNumber, char delimiter, int charsPerAdditionalText, int additionalTextGap) : font(font), disabledFont(disabledFont), cursor(cursor), charsPerEntry(charsPerEntry), rows(rows), rowGap(rowGap), iconSpace(iconSpace), cols(cols), colGap(colGap), charsPerNumber(charsPerNumber), charsPerAdditionalText(charsPerAdditionalText), additionalTextGap(additionalTextGap), delimiter(delimiter) { } + + static void CreateTypeDescription(); + static void Construct(void *); + }; template