-
More menus
As we saw in the last post, I was struggling to use the newer style GtkBuilder methods to start replacing bits of the application kludge3d. But my simple minded approach was giving me some grief: #include <gtk/gtk> int main(int argc, char **argv) { gtk_init(&argc,&argv); GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL); GtkBuilder* builder = gtk_builder_new_from_file (“test.ui”); GtkWidget* menubar…
-
GTK+3.x and menus
So, having got kludge3d to the “starts, but doesn’t work” stage, I need to start implementing all the bits that got commented out along the way. For example, there are no menus because the method that was being used (GtkItemFactory) is deprecated (and so is a pain to compile) – time to move to the…
-
Porting to GTK+3
For a long time I’ve used kludge3d as the basis for a geometry editing front end to my DPS program. kludge3d is a GTK+2.x app using gtkglext for OpenGL access and I regularly used it under windows and Linux. Now, kludge3d hasn’t had much upstream development (last release 22/8/2004). That said, I’ve been able to…
-
building glade-3.8.1 on windows
With the arrival of my daughter in 2009, spare time became a lot more restricted (why didn’t anyone tell me? 😉 OK, so getting back in the saddle, time to rebuild my development environment. As always I like to have GTK+ stuff working on both Linux and Windows. So what does the setup look like now? Install mingw…
-
Fedora14
Fedora 14 is out, so what are the initial impressions? Sigh. Look I use Fedora in a lot of situations (compuational cluster, laptop, mythbox), but its the little things that get me down. Install F14 from the liveCD. During installation, tell it to use UTC and ntp. Once we login we find: Would have thought…
-
OpenGL and GTK+: Have I learned anything?
So looking through the codebases for gtkglarea and gtkglext the contrast in approaches is pretty stark: gtkglext gtkglarea large codebase small code separates platform specific code ifdefs everywhere dead maintained for the moment For my purposes, I think I’m best to port back to gtkglarea. It is maintained for now (not to slight the current…
-
OpenGL and GTK+
Once upon a time, kludge3d (and g3d before it) implemented OpenGL rendering via gtkglarea. gtkglarea (developed by J. Löf and originally hosted at http://www.student.oulu.fi/~jlof/gtkglarea/ – now a dead site) it provided a gtkdrawingarea like widget. Then some time goes by and gtkglarea seems to have gone unmaintained. In the meantime, gtkglext had come into existence.…
-
Building kqemu
qemu is enough to run tinycore without acceleration, but more is better right? Get the source: kqemu-1.4.0pre1.tar.gz $ tar zxf ../Downloads/kqemu-1.4.0pre1.tar.gz $ cd kqemu-1.4.0.pre1 Edit Makefile.winnt, change CROSS_PREFIX=i386-mingw32- to CROSS_PREFIX= then apply the patch from here: $ patch -p0 ../../Downloads/kqemu-mingw.diff patching file `common/Makefile’ patching file `common/genmon.c’ patching file `common/i386/monitor-win32.ld’ patching file `common/i386/monitor_asm.S’ patching file `common/i386/nexus_asm.S’…
-
Building qemu for a change
I’ve played with qemu on and off for as long as I can remember (and I remember struggling with Bochs on DEC OSF/1). These days life is Vista orientated for work reasons and by and by I’ve ended up with win32 as my main development environment, even when I work on GTK+ code (the beauty…