The Following 4 Users Say Thank You to tobiasj For This Useful Post: | ||
|
2009-04-01
, 00:56
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#2
|
|
2009-04-01
, 01:20
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#3
|
|
2009-04-01
, 01:55
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#4
|
This looks awesome!
Hey, any good places you could recommend?
Also, do we need to use our own Xterm font for this, if so any good ones that you could suggest?
I'm currently using a custom Vera Mono font that gives me an 80x25 screen but since I need to use Xkbd, I actually only get an 80x24 display.
Here's a screenshot of the font:
Thanks!
|
2009-04-01
, 17:30
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#5
|
diff -ur ggmud-0.8.1~svn236.orig/Makefile ggmud-0.8.1~svn236/Makefile --- ggmud-0.8.1~svn236.orig/Makefile 2008-10-07 10:16:18.000000000 +0100 +++ ggmud-0.8.1~svn236/Makefile 2009-04-01 18:18:47.000000000 +0100 @@ -9,8 +9,8 @@ CXX ?= g++ INCDIR = -Itt -Ilua -Izlib -Ihttpfetch COMMONLIBS = -Ltt -ltt -Llua -llua -Lzlib -lzlib -Lhttpfetch -lfetch -CFLAGS = $(INCDIR) `pkg-config gtk+-2.0 --cflags` $(GLOBAL_CFLAGS) -DENABLE_BINRELOC -DBR_PTHREADS=0 -LIBS = $(COMMONLIBS) `pkg-config gtk+-2.0 gthread-2.0 --libs` +CFLAGS = $(INCDIR) `pkg-config gtk+-2.0 hildon-1 --cflags` $(GLOBAL_CFLAGS) -DENABLE_BINRELOC -DBR_PTHREADS=0 +LIBS = $(COMMONLIBS) `pkg-config gtk+-2.0 hildon-1 gthread-2.0 --libs` VERSION := $(shell grep VERSION config.h | cut -d\" -f2 ) OS:= $(uname) diff -ur ggmud-0.8.1~svn236.orig/interface.c ggmud-0.8.1~svn236/interface.c --- ggmud-0.8.1~svn236.orig/interface.c 2008-04-23 17:56:53.000000000 +0100 +++ ggmud-0.8.1~svn236/interface.c 2009-04-01 18:28:40.000000000 +0100 @@ -14,6 +14,7 @@ #include <gdk/gdkkeysyms.h> #include <gtk/gtk.h> +#include <hildon/hildon-program.h> #include "callbacks.h" #include "interface.h" @@ -1568,7 +1569,7 @@ accel_group = gtk_accel_group_new (); - window_main = gtk_window_new (GTK_WINDOW_TOPLEVEL); + window_main = hildon_window_new(); gtk_widget_set_size_request (window_main, 600, 400); gtk_container_set_border_width (GTK_CONTAINER (window_main), 3); gtk_window_set_title (GTK_WINDOW (window_main), "GGMud"); @@ -1577,9 +1578,9 @@ gtk_widget_show (vbox17); gtk_container_add (GTK_CONTAINER (window_main), vbox17); - menubar_main = gtk_menu_bar_new (); + menubar_main = gtk_menu_new (); gtk_widget_show (menubar_main); - gtk_box_pack_start (GTK_BOX (vbox17), menubar_main, FALSE, FALSE, 0); + hildon_window_set_menu(window_main, menubar_main); menuitem1 = gtk_menu_item_new_with_mnemonic ("_File"); gtk_widget_show (menuitem1);
The Following 2 Users Say Thank You to qwerty12 For This Useful Post: | ||
|
2009-04-01
, 18:02
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#6
|
|
2009-04-01
, 18:10
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#7
|
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
|
2009-04-01
, 18:18
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#8
|
A diff/patch. If you copy and paste the contents of that into a text editor and save it as a text file in your ggmud source folder, you can then cd to your source folder and run "patch -p1 < "name of the file you saved patch as". After that, you can run make and your resultant binary will have the hildon menus.
|
2009-04-01
, 18:24
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#9
|
|
2009-04-01
, 18:29
|
|
Posts: 241 |
Thanked: 74 times |
Joined on Jul 2007
|
#10
|
A diff/patch. If you copy and paste the contents of that into a text editor and save it as a text file in your ggmud source folder, you can then cd to your source folder and run "patch -p1 < "name of the file you saved patch as". After that, you can run make and your resultant binary will have the hildon menus.
****UPDATE*****
Thanks to qwerty12 the menus are now hildonized and I have added a fullscreen toggle to it so that you can choose what works best. The latest version is now on my website and you can download it using the link below...
***************
You can find the instructions and such on the GGMUD site.
You can download the tar from my website ggmud.tar.gz
Untar it from / and it will install the bin to /usr/share/games and a desktop file and icon.
see screen shots below.
-John
Last edited by tobiasj; 2009-04-01 at 19:50. Reason: new version