コード例 #1
0
ファイル: Form.hpp プロジェクト: Mrdini/XCSoar
 /**
  * Removes a #Window from the "advanced window list" (#advanced_windows).
  */
 void RemoveExpert(Window *window) {
   expert_windows.remove(window);
 }
コード例 #2
0
ファイル: Form.hpp プロジェクト: Mrdini/XCSoar
 /**
  * Add a #Window to the "destruct" list: the object will be deleted
  * by the destructor of this class.  This means that the caller
  * doesn't have to keep track of the specified Window, because this
  * WndForm is now responsible for freeing memory.
  */
 void AddDestruct(Window *window) {
   destruct_windows.push_front(window);
 }
コード例 #3
0
ファイル: Form.hpp プロジェクト: Mrdini/XCSoar
 /**
  * Adds a #Window to the "advanced window list" (#advanced_windows).
  */
 void AddExpert(Window *window) {
   expert_windows.push_back(window);
 }
コード例 #4
0
ファイル: Form.hpp プロジェクト: hnpilot/XCSoar
 /**
  * Adds a #Window to the "advanced window list" (#advanced_windows).
  */
 void AddAdvanced(Window *window) {
   advanced_windows.push_back(window);
 }