]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Menu.h
moved spell menu template to resources
[l2e.git] / src / graphics / Menu.h
index 0a4a69885d7ff6dd81b2b1ceb63bbe8c1b8ff777..576120e65b9e5bd881d231becb6231ec5989c9e8 100644 (file)
@@ -20,11 +20,14 @@ namespace graphics {
 
 class Sprite;
 
+// TODO: disabled entries + alternate font for those
+// TODO: sprite for the cursor
+// TODO: animation when top row changes
 template<class T>
 class Menu {
 
 public:
-       Menu(const Font *font, int charsPerEntry, int rows, int rowGap = 0, int cols = 1, int colGap = 0);
+       explicit Menu(const Font *font = NULL, int charsPerEntry = 16, int rows = 1, int rowGap = 0, int cols = 1, int colGap = 0);
 
 public:
        int Width() const;