mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00
WindowServer+LibGUI+FontEditor: Encode special characters as UTF-8
This commit is contained in:
parent
84bc6a92a7
commit
22e6978c71
5 changed files with 17 additions and 7 deletions
|
@ -17,12 +17,12 @@ GSpinBox::GSpinBox(GWidget* parent)
|
|||
};
|
||||
m_increment_button = new GButton(this);
|
||||
m_increment_button->set_focusable(false);
|
||||
m_increment_button->set_text("\xf6");
|
||||
m_increment_button->set_text("\xc3\xb6");
|
||||
m_increment_button->on_click = [this](GButton&) { set_value(m_value + 1); };
|
||||
m_increment_button->set_auto_repeat_interval(150);
|
||||
m_decrement_button = new GButton(this);
|
||||
m_decrement_button->set_focusable(false);
|
||||
m_decrement_button->set_text("\xf7");
|
||||
m_decrement_button->set_text("\xc3\xb7");
|
||||
m_decrement_button->on_click = [this](GButton&) { set_value(m_value - 1); };
|
||||
m_decrement_button->set_auto_repeat_interval(150);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue