35 lines
883 B
C
35 lines
883 B
C
// 22 april 2015
|
|
#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_40
|
|
#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_40
|
|
#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_10
|
|
#define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_10
|
|
#include <gtk/gtk.h>
|
|
#include <math.h>
|
|
#include <dlfcn.h> // see future.c
|
|
#include <langinfo.h>
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
#include <inttypes.h>
|
|
#include "../ui.h"
|
|
#include "../ui_unix.h"
|
|
#include "../common/uipriv.h"
|
|
|
|
#define uiprivGTKXMargin 12
|
|
#define uiprivGTKYMargin 12
|
|
#define uiprivGTKXPadding 12
|
|
#define uiprivGTKYPadding 6
|
|
|
|
// menu.c
|
|
extern GtkWidget *uiprivMakeMenubar(uiWindow *);
|
|
extern void uiprivFreeMenubar(GtkWidget *);
|
|
extern void uiprivUninitMenus(void);
|
|
|
|
// alloc.c
|
|
extern void uiprivInitAlloc(void);
|
|
extern void uiprivUninitAlloc(void);
|
|
|
|
// util.c
|
|
extern void uiprivSetMargined(GtkContainer *, int);
|
|
|
|
#include "OLD_uipriv_unix.h"
|