Labyrinth
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
optionsselectionform.hpp
1 //////////////////////////////
2 //
3 // File: swce/optionsselectionform.hpp
4 // Author: Maciej Kaminski
5 // E-mail: maciej.a.kaminski@gmail.com
6 // Website: maciejkaminski.pl
7 //
8 // File creation date: Feb 24 2013
9 // This file is part of Project Labyrinth
10 // This file is going to be released under terms of GNU GPL in near future
11 //
12 //////////////////////////////
13 
14 #ifndef _SWCE_OPTIONS_ADD_FORM_
15 #define _SWCE_OPTIONS_ADD_FORM_
16 namespace LxS
17 {
18  namespace Windowing
19  {
20  class Label;
21  class Button;
22  }
23 }
24 #include "lxs/windowing/textbox.hpp"
25 #include "swce/optiondescription.hpp"
26 namespace SWCE {
27  //! select an option among many others (powers, edges etc)
29  {
30  protected:
31  //! editor status record
33  //! flavor text
34  bool show_fluff;
35  //! which options are hidden (but may be shown again)
36  //! due to narrowing search criteria
38  public:
39  //! using search button
40  void LimitView(const std::string & phrase);
41  //! show or hide flavor text
42  void SetShowFluff(bool f);
43  //! is flavor text shown?
44  bool GetShowFluff();
45  void OnFocus();
46  //! constructor
49  };
50 }
51 #endif