src/Graphics/Display.hh
branchnew_graphics
changeset 417 c503e0c6a740
parent 414 cede5463b845
child 423 947ab54de4b7
equal deleted inserted replaced
416:38cba347a3a9 417:c503e0c6a740
     5 #include "../Config.hh"
     5 #include "../Config.hh"
     6 
     6 
     7 namespace graphics
     7 namespace graphics
     8 {
     8 {
     9 
     9 
    10 struct DisplayConfig {
       
    11     /** Display resolution */
       
    12     PixelDimensions resolution;
       
    13 
       
    14     /** Fullscreen mode? */
       
    15     bool fullscreen;
       
    16 
       
    17     /** Defaults */
       
    18     DisplayConfig (void) : resolution(GRAPHICS_RESOLUTION_WIDTH, GRAPHICS_RESOLUTION_HEIGHT), fullscreen(GRAPHICS_FULLSCREEN) { }
       
    19 };
       
    20 
       
    21 class Display;
    10 class Display;
    22 
    11 
    23 }
    12 }
    24 
    13 
    25 #include "View.hh"
    14 #include "View.hh"
    26 #include "../Timer.hh"
    15 #include "../Timer.hh"
       
    16 #include "../Configuration.hh"
    27 
    17 
    28 #include <ClanLib/display.h>
    18 #include <ClanLib/display.h>
    29 
    19 
    30 namespace graphics
    20 namespace graphics
    31 {
    21 {