ChanViewer: Give this application a simple window icon

This commit is contained in:
Andreas Kling 2019-08-04 14:53:32 +02:00
parent 3eb1a7f8f8
commit d0c1724d5b
Notes: sideshowbarker 2024-07-19 12:54:05 +09:00
2 changed files with 2 additions and 0 deletions

View File

@ -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);

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B