source:
anuga_work/development/anugavis/src/anugavis.hh
@
5488
Last change on this file since 5488 was 5488, checked in by jack, 16 years ago | |
---|---|
File size: 426 bytes |
Line | |
---|---|
1 | #ifndef ANUGAVIS_HH |
2 | #define ANUGAVIS_HH |
3 | |
4 | /* The main controller object. */ |
5 | |
6 | #include <string> |
7 | #include <SDL.h> |
8 | #include "sww_file.hh" |
9 | |
10 | using std::string; |
11 | |
12 | class AnugaVis{ |
13 | public: |
14 | AnugaVis(const string &sww_file, int width, int height); |
15 | ~AnugaVis(void); |
16 | private: |
17 | void init_SDL(int width, int height); |
18 | void init_OpenGL(int width, int height); |
19 | SDL_Surface *screen; |
20 | SWWFile sww_file; |
21 | }; |
22 | |
23 | #endif |
Note: See TracBrowser
for help on using the repository browser.