diff options
| author | untodesu <kirill@untode.su> | 2025-09-11 13:48:31 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-09-11 13:48:31 +0500 |
| commit | aaed751bf4430bf4b9b30cef532b8753b9f639ce (patch) | |
| tree | 16bc751c272ba27ad53ec48dbdd3a6d9e6a8d4c2 /game/client/gui/message_box.hh | |
| parent | 96bd73ae020ecca1f94698744c77498a89ad19f7 (diff) | |
| download | voxelius-aaed751bf4430bf4b9b30cef532b8753b9f639ce.tar.bz2 voxelius-aaed751bf4430bf4b9b30cef532b8753b9f639ce.zip | |
Replace most of C strings with string_view
Diffstat (limited to 'game/client/gui/message_box.hh')
| -rw-r--r-- | game/client/gui/message_box.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/game/client/gui/message_box.hh b/game/client/gui/message_box.hh index c5545fc..a906744 100644 --- a/game/client/gui/message_box.hh +++ b/game/client/gui/message_box.hh @@ -16,9 +16,9 @@ void reset(void); namespace gui::message_box { -void set_title(const char* title); -void set_subtitle(const char* subtitle); -void add_button(const char* text, const message_box_action& action); +void set_title(std::string_view title); +void set_subtitle(std::string_view subtitle); +void add_button(std::string_view text, const message_box_action& action); } // namespace gui::message_box #endif // CLIENT_MESSAGE_BOX_HH |
