GUI2: marked inherited dialog functions (pre_show, etc) as virtual override
The virtual is for style consistency, the override because it should be done.
This commit is contained in:
parent
f0dffab55a
commit
7d8380cd87
85 changed files with 207 additions and 207 deletions
|
@ -50,13 +50,13 @@ private:
|
|||
void help_button_callback(window& window);
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -33,10 +33,10 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
addons_list addons_;
|
||||
};
|
||||
|
|
|
@ -53,10 +53,10 @@ private:
|
|||
void on_addon_select(window& window);
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
void load_addon_list(window& window);
|
||||
|
||||
|
|
|
@ -48,13 +48,13 @@ private:
|
|||
std::map<std::string, bool> selections_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -45,13 +45,13 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
void setup_scale_case(const std::string&, window&);
|
||||
void update_scale_case(const std::string&);
|
||||
|
|
|
@ -48,10 +48,10 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
struct combatant_data
|
||||
{
|
||||
|
|
|
@ -54,13 +54,13 @@ private:
|
|||
std::string selected_difficulty_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -55,15 +55,15 @@ private:
|
|||
void campaign_selected(window& window);
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
void show_settings(CVideo& video);
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
void mod_toggled(window& window);
|
||||
|
||||
|
|
|
@ -53,13 +53,13 @@ private:
|
|||
void update_lists(window& window);
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -355,7 +355,7 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
void pre_show()
|
||||
virtual void pre_show()
|
||||
{
|
||||
LOG_CHAT_LOG << "Entering chat_log::view::pre_show" << std::endl;
|
||||
controller_.update_view_from_model(true);
|
||||
|
|
|
@ -37,13 +37,13 @@ public:
|
|||
window* build_window(CVideo& video);
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
std::shared_ptr<view> get_view();
|
||||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
std::shared_ptr<view> view_;
|
||||
};
|
||||
|
|
|
@ -45,13 +45,13 @@ private:
|
|||
void core_selected(window& window);
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
/** Contains the config objects for all cores. */
|
||||
const std::vector<config>& cores_;
|
||||
|
|
|
@ -128,13 +128,13 @@ private:
|
|||
time time_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(CVideo& video);
|
||||
virtual void post_show(CVideo& video);
|
||||
|
||||
/**
|
||||
* The callback for the drawing routine.
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
|
||||
protected:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -50,13 +50,13 @@ public:
|
|||
|
||||
protected:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog */
|
||||
virtual void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog */
|
||||
virtual void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
private:
|
||||
/** the options available */
|
||||
|
|
|
@ -81,13 +81,13 @@ private:
|
|||
std::function<void()> callback_toggle_state_change_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -50,7 +50,7 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -60,7 +60,7 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -71,13 +71,13 @@ private:
|
|||
void update_selected_tod_info(window& window);
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
/** Current map generator index */
|
||||
int current_tod_;
|
||||
|
|
|
@ -62,7 +62,7 @@ private:
|
|||
void save_color_component(uint8_t color_t::* component, const int value);
|
||||
void register_color_component(std::string widget_id, uint8_t color_t::* component);
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -54,7 +54,7 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -40,8 +40,8 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
void pre_show(window& window);
|
||||
void post_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
team::CONTROLLER& controller_;
|
||||
group<team::CONTROLLER> controller_group;
|
||||
|
@ -50,7 +50,7 @@ private:
|
|||
group<team::SHARE_VISION> vision_group;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -55,10 +55,10 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Callback for generator list selection changes. */
|
||||
void do_generator_selected(window& window);
|
||||
|
|
|
@ -38,12 +38,12 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
void adjust_minimum_size_by_players(window& window);
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** We need to own these fields to access the underlying widget */
|
||||
field_integer* players_;
|
||||
|
|
|
@ -49,7 +49,7 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -114,10 +114,10 @@ private:
|
|||
void set_direction_icon(int index, std::string icon);
|
||||
|
||||
/** Inherited from modal_dialog */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -44,13 +44,13 @@ private:
|
|||
std::vector<map_location> starting_positions_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -44,10 +44,10 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
void timer_callback();
|
||||
void key_press_callback(const SDL_Keycode key);
|
||||
|
|
|
@ -206,10 +206,10 @@ private:
|
|||
int user_bookmarks_begin_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Handles dialog exit events and decides whether to proceed or not. */
|
||||
bool on_exit(window& window);
|
||||
|
|
|
@ -56,10 +56,10 @@ private:
|
|||
}
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
};
|
||||
|
||||
class bookmark_create
|
||||
|
|
|
@ -36,10 +36,10 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/***** ***** button callbacks ***** *****/
|
||||
void callback_continue_button(window& window);
|
||||
|
|
|
@ -60,13 +60,13 @@ private:
|
|||
void update_cache_size_display();
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -48,10 +48,10 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
void filter_text_changed(text_box_base* textbox, const std::string& text);
|
||||
void delete_button_callback(window& window);
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
|
||||
class game_save_message : public modal_dialog
|
||||
|
@ -55,7 +55,7 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
|
||||
class game_save_oos : public modal_dialog
|
||||
|
@ -77,7 +77,7 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -63,13 +63,13 @@ private:
|
|||
void on_tab_select(window& window);
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -75,10 +75,10 @@ private:
|
|||
void generate_plain_text_report();
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
//
|
||||
// Widget event callbacks.
|
||||
|
|
|
@ -36,10 +36,10 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
std::shared_ptr<view> view_;
|
||||
std::shared_ptr<model> model_;
|
||||
|
|
|
@ -42,10 +42,10 @@ private:
|
|||
const config& help_cfg_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
void on_topic_select(window& window);
|
||||
};
|
||||
|
|
|
@ -46,10 +46,10 @@ private:
|
|||
void mouse_button_callback(window& window, Uint8 button);
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -40,10 +40,10 @@ private:
|
|||
display_context& viewer;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Callback for toggling a checkbox state. */
|
||||
void toggle_category(widget& box, std::string category);
|
||||
|
|
|
@ -31,13 +31,13 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -71,15 +71,15 @@ private:
|
|||
|
||||
window* build_window(CVideo& video) const;
|
||||
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
void timer_callback(window& window);
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
label* progress_stage_label_;
|
||||
label* animation_label_;
|
||||
|
|
|
@ -164,10 +164,10 @@ private:
|
|||
virtual void post_build(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window) override;
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window) override;
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
const config& game_config_;
|
||||
|
||||
|
|
|
@ -45,13 +45,13 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
void update_relation();
|
||||
|
||||
|
|
|
@ -49,13 +49,13 @@ private:
|
|||
std::vector<std::string> domain_list_, widget_id_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ public:
|
|||
window* build_window(CVideo& video);
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
enum WHICH_KERNEL { APP, GAME };
|
||||
static void display(CVideo& video, lua_kernel_base * lk);
|
||||
|
@ -47,7 +47,7 @@ private:
|
|||
const std::unique_ptr<controller> controller_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -110,10 +110,10 @@ public:
|
|||
|
||||
protected:
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
private:
|
||||
/** The title for the dialog. */
|
||||
|
@ -152,7 +152,7 @@ private:
|
|||
std::vector<tbutton_status> buttons_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
|
||||
|
|
|
@ -41,10 +41,10 @@ private:
|
|||
group<std::string> gender_toggle_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Callbacks */
|
||||
void on_faction_select(window& window);
|
||||
|
|
|
@ -41,13 +41,13 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -322,7 +322,7 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
void pre_show(window& window)
|
||||
virtual void pre_show(window& window)
|
||||
{
|
||||
model_.clear_sides();
|
||||
controller_.show_sides_list();
|
||||
|
@ -380,7 +380,7 @@ public:
|
|||
#endif
|
||||
}
|
||||
|
||||
void post_show(int retval, events::menu_handler* mh)
|
||||
virtual void post_show(int retval, events::menu_handler* mh)
|
||||
{
|
||||
if(retval == window::OK) {
|
||||
controller_.change_control(mh);
|
||||
|
|
|
@ -36,11 +36,11 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
void post_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
events::menu_handler* menu_handler_;
|
||||
std::shared_ptr<view> view_;
|
||||
|
|
|
@ -60,10 +60,10 @@ private:
|
|||
std::string time_;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -76,13 +76,13 @@ private:
|
|||
std::string host_name_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
REGISTER_DIALOG(mp_server_list)
|
||||
|
|
|
@ -32,10 +32,10 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** The host name of the selected servef. */
|
||||
field_text* host_name_;
|
||||
|
|
|
@ -45,13 +45,13 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
const config& cfg_;
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -51,13 +51,13 @@ public:
|
|||
bool started() const { return level_["started"].to_bool(); }
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
void generate_side_list(window& window);
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -29,13 +29,13 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -47,13 +47,13 @@ private:
|
|||
int choice_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -44,13 +44,13 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
void add_side_node(window& window, ng::side_engine_ptr side);
|
||||
|
||||
|
|
|
@ -34,10 +34,10 @@ private:
|
|||
label* message_;
|
||||
window* window_;
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
virtual void handle_generic_event(const std::string& event_name);
|
||||
};
|
||||
|
|
|
@ -84,10 +84,10 @@ public:
|
|||
|
||||
protected:
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
private:
|
||||
/**
|
||||
|
@ -99,7 +99,7 @@ private:
|
|||
std::string subtitle_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -46,13 +46,13 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
void set_next_draw();
|
||||
|
||||
|
|
|
@ -80,12 +80,12 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_build(window& window);
|
||||
void pre_show(window& window);
|
||||
void post_show(window& /*window*/);
|
||||
virtual void post_build(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
virtual void post_show(window& /*window*/);
|
||||
|
||||
/** Initializers */
|
||||
void initialize_tabs(window& window, listbox& selector);
|
||||
|
|
|
@ -49,10 +49,10 @@ private:
|
|||
const std::string screenshots_dir_path_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -47,12 +47,12 @@ private:
|
|||
std::map<std::string, group<std::string> > groups_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -89,13 +89,13 @@ private:
|
|||
std::string ok_label_, cancel_label_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -72,13 +72,13 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
ng::create_engine& create_engine_;
|
||||
ng::configure_engine& config_engine_;
|
||||
|
|
|
@ -40,10 +40,10 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/**
|
||||
* Picks out the stats structure that was selected for displaying.
|
||||
|
|
|
@ -42,10 +42,10 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
void update_current_part_ptr();
|
||||
|
||||
|
|
|
@ -41,10 +41,10 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
terrain_builder::tile* tile_;
|
||||
terrain_builder::tile::logs tile_logs_;
|
||||
|
|
|
@ -51,13 +51,13 @@ private:
|
|||
std::vector<theme_info> themes_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
} // namespace gui2
|
||||
|
|
|
@ -76,10 +76,10 @@ private:
|
|||
bool redraw_background_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
void on_resize(window& window);
|
||||
|
||||
|
|
|
@ -108,10 +108,10 @@ private:
|
|||
SDL_Rect source_rect_;
|
||||
|
||||
/** Inherited from modeless_dialog. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modeless_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
};
|
||||
|
||||
void tooltip::pre_show(window& window)
|
||||
|
|
|
@ -37,10 +37,10 @@ private:
|
|||
bool hide_image_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
virtual void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
};
|
||||
} // namespace dialogs
|
||||
|
||||
|
|
|
@ -35,11 +35,11 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
void post_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
void list_item_clicked(window& window);
|
||||
|
||||
|
|
|
@ -41,13 +41,13 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
void damage_calc_callback(window& window);
|
||||
|
||||
|
|
|
@ -66,13 +66,13 @@ private:
|
|||
std::vector<std::string> last_words_;
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
/** Callbacks */
|
||||
void list_item_clicked(window& window);
|
||||
|
|
|
@ -59,13 +59,13 @@ private:
|
|||
void list_item_clicked(window& window);
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -63,13 +63,13 @@ private:
|
|||
void show_help(window& window);
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
} // namespace dialogs
|
||||
|
|
|
@ -36,11 +36,11 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
void post_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
virtual void post_show(window& window) override;
|
||||
|
||||
void list_item_clicked(window& window);
|
||||
|
||||
|
|
|
@ -64,10 +64,10 @@ private:
|
|||
std::string report_; // Plain text report for copying to clipboard.
|
||||
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
void copy_report_callback();
|
||||
};
|
||||
|
|
|
@ -126,11 +126,11 @@ private:
|
|||
|
||||
protected:
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
private:
|
||||
/** Inherited from modal_dialog. */
|
||||
void post_show(window& window);
|
||||
virtual void post_show(window& window) override;
|
||||
};
|
||||
|
||||
/** Shows a dialog with the portrait on the left side. */
|
||||
|
@ -147,7 +147,7 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
|
||||
/** Shows a dialog with the portrait on the right side. */
|
||||
|
@ -164,7 +164,7 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
};
|
||||
|
||||
/** Shows a dialog with two portraits, one on each side. */
|
||||
|
@ -185,10 +185,10 @@ public:
|
|||
|
||||
private:
|
||||
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
|
||||
virtual const std::string& window_id() const;
|
||||
virtual const std::string& window_id() const override;
|
||||
|
||||
/** Inherited from modal_dialog. */
|
||||
void pre_show(window& window);
|
||||
virtual void pre_show(window& window) override;
|
||||
|
||||
std::string second_portrait_;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue