mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
define dependencies
This commit is contained in:
parent
3c705c14c2
commit
4e914857a2
2 changed files with 10 additions and 4 deletions
|
|
@ -6,10 +6,13 @@ namespace app
|
||||||
Browser::Browser(
|
Browser::Browser(
|
||||||
GtkApplication *application
|
GtkApplication *application
|
||||||
) {
|
) {
|
||||||
|
// Init dependencies
|
||||||
|
this->application = application;
|
||||||
|
|
||||||
// Init GTK
|
// Init GTK
|
||||||
this->gtk = gtk_application_window_new(
|
this->gtk = gtk_application_window_new(
|
||||||
GTK_APPLICATION(
|
GTK_APPLICATION(
|
||||||
application
|
this->application
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,13 +21,16 @@ namespace app
|
||||||
// GTK
|
// GTK
|
||||||
GtkWidget *gtk;
|
GtkWidget *gtk;
|
||||||
|
|
||||||
// Defaults
|
// Dependencies
|
||||||
const guint WIDTH = 640;
|
GtkApplication *application;
|
||||||
const guint HEIGHT = 480;
|
|
||||||
|
|
||||||
// Requirements
|
// Requirements
|
||||||
browser::Header *header;
|
browser::Header *header;
|
||||||
|
|
||||||
|
// Defaults
|
||||||
|
const guint WIDTH = 640;
|
||||||
|
const guint HEIGHT = 480;
|
||||||
|
|
||||||
Browser(
|
Browser(
|
||||||
GtkApplication *application
|
GtkApplication *application
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue