Browse code

initial UI stuff

Nils Faerber authored on 31/07/2012 17:51:24
Showing 4 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,12 @@
1
+ACLOCAL_AMFLAGS = -I m4
2
+
3
+bin_PROGRAMS = oswald-gui
4
+
5
+winkui_SOURCES = oswald-ui.c
6
+winkui_CFLAGS = -g $(GTK_CFLAGS)
7
+winkui_LDADD = $(GTK_LIBS)
8
+
9
+EXTRA_DIST = config.rpath m4/ChangeLog  \
10
+	AUTHORS                 \
11
+	COPYING                 \
12
+	README.txt
0 13
new file mode 100755
... ...
@@ -0,0 +1,8 @@
1
+#!/bin/sh
2
+
3
+version=1.11
4
+set -x
5
+aclocal-$version
6
+autoconf
7
+libtoolize
8
+automake-$version --add-missing --foreign
0 9
new file mode 100644
... ...
@@ -0,0 +1,17 @@
1
+AC_CONFIG_MACRO_DIR([m4])
2
+# AC_CONFIG_HEADER(config.h)
3
+
4
+AC_INIT(Makefile.am)
5
+AM_INIT_AUTOMAKE(oswald-gui, 0.01)
6
+
7
+AC_PROG_CPP
8
+AC_PROG_INSTALL
9
+AC_PROG_LIBTOOL
10
+
11
+AM_MAINTAINER_MODE
12
+
13
+PKG_CHECK_MODULES(GTK, gtk+-2.0)
14
+AC_SUBST(GTK_LIBS)
15
+AC_SUBST(GTK_CFLAGS)
16
+
17
+AC_OUTPUT([ Makefile ])
0 18
\ No newline at end of file
1 19
new file mode 100644
... ...
@@ -0,0 +1,20 @@
1
+#include <stdio.h>
2
+#include <sys/stat.h>
3
+#include <fcntl.h>
4
+#include <stdio.h>
5
+#include <stdlib.h>
6
+#include <unistd.h>
7
+#include <string.h>
8
+#include <poll.h>
9
+#include <sys/socket.h>
10
+#include <sys/un.h>
11
+#include <time.h>
12
+
13
+#include <gtk/gtk.h>
14
+
15
+
16
+typedef struct {
17
+	GtkWidget *main_win;
18
+} oswald_ui;
19
+
20
+