mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-05 18:44:27 +03:00
ChanViewer: Give this application a simple window icon
This commit is contained in:
parent
3eb1a7f8f8
commit
d0c1724d5b
Notes:
sideshowbarker
2024-07-19 12:54:05 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/d0c1724d5b0
@ -1,4 +1,5 @@
|
||||
#include "ThreadCatalogModel.h"
|
||||
#include <LibDraw/PNGLoader.h>
|
||||
#include <LibGUI/GApplication.h>
|
||||
#include <LibGUI/GBoxLayout.h>
|
||||
#include <LibGUI/GTableView.h>
|
||||
@ -11,6 +12,7 @@ int main(int argc, char** argv)
|
||||
auto* window = new GWindow;
|
||||
window->set_title("ChanViewer");
|
||||
window->set_rect(100, 100, 640, 480);
|
||||
window->set_icon(load_png("/res/icons/16x16/app-chanviewer.png"));
|
||||
|
||||
auto* widget = new GWidget;
|
||||
window->set_main_widget(widget);
|
||||
|
BIN
Base/res/icons/16x16/app-chanviewer.png
Normal file
BIN
Base/res/icons/16x16/app-chanviewer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 203 B |
Loading…
Reference in New Issue
Block a user