X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FMenu.h;h=576120e65b9e5bd881d231becb6231ec5989c9e8;hb=4bdbcf13343cee3f4fcc4ed7057e18eb6fe49703;hp=0a4a69885d7ff6dd81b2b1ceb63bbe8c1b8ff777;hpb=8c055cbdddac2114c130e6a6524ff887d89ccf53;p=l2e.git diff --git a/src/graphics/Menu.h b/src/graphics/Menu.h index 0a4a698..576120e 100644 --- a/src/graphics/Menu.h +++ b/src/graphics/Menu.h @@ -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 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;