Newbie Q: What to use ...

2004-07-03 Thread Soren Kuula
Hi, I am working on restructuring an application, it's called the Warring Ants. If you don't know it, it's a programming game: Different people implement a standard behaviour of individual ants in an ant tribe, and several different tribes then compete for survival. The game is visualized in

Re: Newbie Q: What to use ...

2004-07-03 Thread Jan-Marek Glogowski
Hi From my first impression I think you can simply use a GtkDrawingArea and GdkPixmap(s). Look at GDK Docs - Drawing Primitives, if you want to move from X to GDK. 1) Stick with Xlib primitives for displaying ants ? OK, but I can't see which kind of widget that will allow me to use XLib

Re: GTKDrawingArea and GtkLabel

2004-07-03 Thread Jan-Marek Glogowski
Hi Putting a GtkLabel inside a GtkDrawingArea doesn't make sense to me... If you want to draw text look at pango: Pango docs - Basic Pango Interfaces - Layout Objects - PangoLayout. GDK docs - Drawing Primitives - gdk_draw_layout HTH Jan-Marek ___