1 /* bzflag 2 * Copyright (c) 1993-2021 Tim Riker 3 * 4 * This package is free software; you can redistribute it and/or 5 * modify it under the terms of the license found in the file 6 * named COPYING that should have accompanied this file. 7 * 8 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 9 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 10 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11 */ 12 13 #ifndef __SAVEWORLDMENU_H__ 14 #define __SAVEWORLDMENU_H__ 15 16 // common - 1st 17 #include "common.h" 18 19 /* local interface headers */ 20 #include "HUDDialog.h" 21 #include "HUDuiDefaultKey.h" 22 #include "HUDuiTypeIn.h" 23 #include "HUDuiLabel.h" 24 25 26 class SaveWorldMenu : public HUDDialog 27 { 28 public: 29 SaveWorldMenu(); 30 ~SaveWorldMenu(); 31 32 HUDuiDefaultKey* getDefaultKey(); 33 34 void execute(); 35 void resize(int width, int height); 36 37 private: 38 HUDuiTypeIn* filename; 39 HUDuiLabel* status; 40 }; 41 42 43 #endif /* __SAVEWORLDMENU_H__ */ 44 45 // Local Variables: *** 46 // mode: C++ *** 47 // tab-width: 4 *** 48 // c-basic-offset: 4 *** 49 // indent-tabs-mode: nil *** 50 // End: *** 51 // ex: shiftwidth=4 tabstop=4 52