mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:27:45 +00:00
PixelPaint: Style the application name as "Pixel Paint" :^)
This commit is contained in:
parent
c7244e37eb
commit
6c2c3b920e
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
[App]
|
[App]
|
||||||
Name=PixelPaint
|
Name=Pixel Paint
|
||||||
Executable=/bin/PixelPaint
|
Executable=/bin/PixelPaint
|
||||||
Category=Graphics
|
Category=Graphics
|
||||||
|
|
||||||
|
|
|
@ -49,13 +49,13 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
const char* image_file = nullptr;
|
const char* image_file = nullptr;
|
||||||
Core::ArgsParser args_parser;
|
Core::ArgsParser args_parser;
|
||||||
args_parser.add_positional_argument(image_file, "PixelPaint image file (*.pp) to open", "path", Core::ArgsParser::Required::No);
|
args_parser.add_positional_argument(image_file, "Pixel Paint image file (*.pp) to open", "path", Core::ArgsParser::Required::No);
|
||||||
args_parser.parse(argc, argv);
|
args_parser.parse(argc, argv);
|
||||||
|
|
||||||
auto app_icon = GUI::Icon::default_icon("app-pixel-paint");
|
auto app_icon = GUI::Icon::default_icon("app-pixel-paint");
|
||||||
|
|
||||||
auto window = GUI::Window::construct();
|
auto window = GUI::Window::construct();
|
||||||
window->set_title("PixelPaint");
|
window->set_title("Pixel Paint");
|
||||||
window->resize(800, 480);
|
window->resize(800, 480);
|
||||||
window->set_icon(app_icon.bitmap_for_size(16));
|
window->set_icon(app_icon.bitmap_for_size(16));
|
||||||
|
|
||||||
|
@ -369,7 +369,7 @@ int main(int argc, char** argv)
|
||||||
}));
|
}));
|
||||||
|
|
||||||
auto& help_menu = menubar->add_menu("&Help");
|
auto& help_menu = menubar->add_menu("&Help");
|
||||||
help_menu.add_action(GUI::CommonActions::make_about_action("PixelPaint", app_icon, window));
|
help_menu.add_action(GUI::CommonActions::make_about_action("Pixel Paint", app_icon, window));
|
||||||
|
|
||||||
window->set_menubar(move(menubar));
|
window->set_menubar(move(menubar));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue