diff --git a/dialogs.cpp b/dialogs.cpp index e07b0fe2..1e76c216 100644 --- a/dialogs.cpp +++ b/dialogs.cpp @@ -1684,34 +1684,70 @@ EX namespace dialog { return ret; } - EX void displayPageButtons(int i, int numpages) { + #if HDR + constexpr flagtype DB_BACK = 1; + constexpr flagtype DB_HELP = 2; + constexpr flagtype DB_EXIT = 4; + constexpr flagtype DB_PLAIN = 8; + constexpr flagtype DB_ACTIVATE = 16; + constexpr flagtype DB_EXPLAIN = 32; + #endif + + EX void display_bottom_buttons(int numpages, flagtype flags) { + + struct button { + int key; + string text; + color_t col; + int width; + bool digits; + }; + vector