Renamed a struct that escaped the t-prefix purge

[ci skip]
This commit is contained in:
Charles Dang 2017-04-24 12:42:38 +11:00
parent 35600270f3
commit 6cde201d09
2 changed files with 5 additions and 5 deletions

View file

@ -48,7 +48,7 @@ struct message_implementation
* @param id The id of the button.
*/
static void init_button(window& window,
message::tbutton_status& button_status,
message::button_status& button_status,
const std::string& id)
{
button_status.ptr = find_widget<button>(&window, id, false, true);
@ -136,7 +136,7 @@ void message::set_button_retval(const button_id button, const int retval)
}
}
message::tbutton_status::tbutton_status()
message::button_status::button_status()
: ptr(nullptr)
, caption()
, visible(widget::visibility::invisible)

View file

@ -138,9 +138,9 @@ private:
/** Whether to enable formatting markup for the dialog message. */
bool message_use_markup_;
struct tbutton_status
struct button_status
{
tbutton_status();
button_status();
button* ptr;
std::string caption;
@ -149,7 +149,7 @@ private:
};
/** Holds a pointer to the buttons. */
std::vector<tbutton_status> buttons_;
std::vector<button_status> buttons_;
/** Inherited from modal_dialog, implemented by REGISTER_DIALOG. */
virtual const std::string& window_id() const override;