mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 12:05:13 +00:00
Launcher: Let's use CoolBar style buttons in here for now.
This will be helpful for testing the hover events.
This commit is contained in:
parent
d353c7c3d6
commit
af7eb5c89c
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ public:
|
||||||
: GButton(parent)
|
: GButton(parent)
|
||||||
, m_executable_path(exec_path)
|
, m_executable_path(exec_path)
|
||||||
{
|
{
|
||||||
|
set_button_style(GButtonStyle::CoolBar);
|
||||||
set_icon(GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, icon_path, { 32, 32 }));
|
set_icon(GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, icon_path, { 32, 32 }));
|
||||||
resize(50, 50);
|
resize(50, 50);
|
||||||
on_click = [this] (GButton&) {
|
on_click = [this] (GButton&) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue