key press events & holding keys down

2012-03-16 Thread Christopher Howard
Hey guys -- thanks again for the help I received recently regarding several noobie issues. I'm still working on my space combat game, and came across this little problem: I control the spacecraft with the arrow keys, which I do by grabbing the GdkEventKey and then checking it against GDK_KEY_Left,

how to i set hscale wigdet to -- say -- "17"?

2012-03-16 Thread Gary Kline
thanks to a great amount of help from this list , my "let the computer speak for the speech-impaired" [AKA "VBC"] is making good progress. in fact, my "Options" pop-up from the menubar is almost ready for integration. but i still want it to look like the program 'gespeaker'---meaning that i

Re: cairo: multiple sprites images in one PNG

2012-03-16 Thread Lucas Levrel
Le 15 mars 2012, Christopher Howard a écrit : Question for the veterans: -- ship_surf = cairo_image_surface_create_from_png("ship.png"); // ... cairo_set_source_surface (cr, ship_surf, x, y); cairo_paint (cr); -- But what if I want, for ease of maintainability (and less system