Ignore:
Timestamp:
Aug 13, 2011, 10:05:51 PM (11 years ago)
Author:
sam
Message:

gtk: refactor the GtkGlArea handling so that it can be destroyed even if
we are not actually closing the whole application.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/deushax/gtk/glmapview.h

    r220 r824  
    1717    void LoadMap(char const *path);
    1818    void CloseMap();
     19    gboolean Shutdown();
    1920
    2021private:
     
    2223    gboolean IdleTick();
    2324    gboolean Setup();
    24     gboolean Shutdown();
    2525    gboolean Draw(GdkEventExpose *e);
    2626    void Scroll(double dx, double dy);
     
    4848    GtkAdjustment *hadj, *vadj;
    4949    GtkWidget *glarea;
    50     gboolean ticking, panning;
     50    gboolean ticking, panning, destroyed;
    5151
    5252    MapViewer *mapviewer;
Note: See TracChangeset for help on using the changeset viewer.