Converted almost everything to use wstring so that it works better with SFML and the unicode/utf8 usage in the system.
This commit is contained in:
parent
47c6bfd531
commit
72951f308f
17 changed files with 156 additions and 162 deletions
|
@ -6,7 +6,6 @@
|
|||
|
||||
namespace gui {
|
||||
using namespace guecs;
|
||||
using std::string;
|
||||
|
||||
OverlayUI::OverlayUI() {
|
||||
$gui.position(RAY_VIEW_X, RAY_VIEW_Y, RAY_VIEW_WIDTH, RAY_VIEW_HEIGHT);
|
||||
|
@ -36,7 +35,7 @@ namespace gui {
|
|||
$gui.close<Sprite>(region);
|
||||
}
|
||||
|
||||
void OverlayUI::show_text(string region, string content) {
|
||||
void OverlayUI::show_text(string region, wstring content) {
|
||||
$gui.show_text(region, content);
|
||||
}
|
||||
|
||||
|
@ -44,7 +43,7 @@ namespace gui {
|
|||
$gui.close<Textual>(region);
|
||||
}
|
||||
|
||||
void OverlayUI::show_label(string region, string content) {
|
||||
void OverlayUI::show_label(string region, wstring content) {
|
||||
$gui.show_label(region, content);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue