2021-01-07 01:42:45 +00:00
|
|
|
#ifndef main_menu_h
|
|
|
|
#define main_menu_h
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#include <Core/gb.h>
|
2021-01-09 18:09:15 +00:00
|
|
|
#include "main_window.h"
|
2021-01-07 01:42:45 +00:00
|
|
|
|
|
|
|
#define MAIN_MENU_TYPE (main_menu_get_type())
|
|
|
|
G_DECLARE_FINAL_TYPE(MainMenu, main_menu, SAMEBOY, MAIN_MENU, GtkMenuBar)
|
|
|
|
|
|
|
|
MainMenu *main_menu_new();
|
2021-01-09 18:09:15 +00:00
|
|
|
void main_menu_setup( MainMenu *self
|
|
|
|
, char *model_string
|
|
|
|
, MainWindow *main_window
|
|
|
|
, bool (*on_change_model)(GtkWidget *, GtkWidget *, gpointer)
|
|
|
|
, bool (*on_change_linked_device)(GtkWidget *, GtkWidget *, gpointer)
|
|
|
|
);
|
2021-01-07 01:42:45 +00:00
|
|
|
|
|
|
|
#endif
|