On 12/28/05, Jacky Luk <[EMAIL PROTECTED]> wrote:
> I need to superimpose a timestamp over an image.
>What is the GTK way of doing it?
> Any pointers to examples? Thanks
Here's a rough example -- tiny bit incomplete.
Well create a drawing area
widg = gtk_drawing_area_new();
put it in a scrolle
On 12/13/05, Daryl Lee <[EMAIL PROTECTED]> wrote:
> > Are you sure that is the right style for that callback?
> > static void
> > rocket_cb(GtkWidget *widget, GdkEventExpose *event, gpointer data)
> > {
> > class city_node *city=static_cast(data);
> > global_game.rocket_up(*city);
>
On 12/13/05, Paul Santa Maria <[EMAIL PROTECTED]> wrote:
> I'm coding in C++, but using the "raw" GTK+ C
> libraries.
I'm doing similiar for a game I'm making.
>--
> gboolean
> play_cb (gpointer data)
> {
> // Deference the object pointer to do the actual work
> AnimationFi
On 12/4/05, Daryl Lee <[EMAIL PROTECTED]> wrote:
> Have you wrapped your '#include ' inside an 'extern "C"', a la
>
> extern "C" {
> #include
> }
I wouldn't do that as all of the headers should have:
#ifdef __cplusplus
extern "C" {
#endif
already in them at the right places.
The only diiference
On 11/26/05, Stefan Kost <[EMAIL PROTECTED]> wrote:
> >>Therefore the scrollable windows is needed if the height of the
> >>window would exceed the screen height. Anyway if it does not,
> >>I'd prefer to make the window as tall as possible to show the
> >>entries without needing to scroll.
> >>
> >