mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 15:49:11 +00:00
WindowServer+LibGUI+FontEditor: Encode special characters as UTF-8
This commit is contained in:
parent
84bc6a92a7
commit
22e6978c71
Notes:
sideshowbarker
2024-07-19 12:15:52 +09:00
Author: https://github.com/bugaevc
Commit: 22e6978c71
Pull-request: https://github.com/SerenityOS/serenity/pull/520
Reviewed-by: https://github.com/awesomekling
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