summaryrefslogtreecommitdiffstats
path: root/WindowManager.h
blob: 20829e5e15d0d7dbab8f7a50bdd2a4b17d2637c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef WINDOWMANAGER_H_
#define WINDOWMANAGER_H_

#include <list>
#include <gtk/gtk.h>
#include <gtk/gtkgl.h>
#include "Window.h"


class WindowManager {
  private:
    GdkGLConfig *glconfig;
    std::list<Window*> windows;
    
  public:
    WindowManager(GdkGLConfig *glconfig);
    virtual ~WindowManager();
    
    void run();
    
    void windowClosed(Window *window);
};

#endif /*WINDOWMANAGER_H_*/