src/Graphics/GameView.hh
branchnew_graphics
changeset 412 721c60072091
parent 411 106aaf6eadfe
child 414 cede5463b845
equal deleted inserted replaced
411:106aaf6eadfe 412:721c60072091
     3 
     3 
     4 #include "Drawable.hh"
     4 #include "Drawable.hh"
     5 #include "PlayerInfoView.hh"
     5 #include "PlayerInfoView.hh"
     6 #include "MessageView.hh"
     6 #include "MessageView.hh"
     7 #include "../GameState.hh"
     7 #include "../GameState.hh"
       
     8 
       
     9 #include "../Input.hh"
     8 
    10 
     9 namespace graphics
    11 namespace graphics
    10 {
    12 {
    11 
    13 
    12 /**
    14 /**
    27 
    29 
    28     /**
    30     /**
    29      * The message list view
    31      * The message list view
    30      */
    32      */
    31     MessageView message_view;
    33     MessageView message_view;
       
    34     
       
    35     /**
       
    36      * Input flags
       
    37      */
       
    38     GuiInput flags;
    32 
    39 
    33 public:
    40 public:
    34     /**
    41     /**
    35      * Constructed once the game is running
    42      * Constructed once the game is running
    36      */ 
    43      */ 
    59 public:    
    66 public:    
    60     
    67     
    61     /**
    68     /**
    62      * Draw this view onto the given display
    69      * Draw this view onto the given display
    63      */
    70      */
    64     virtual void draw (Display *display);
    71     virtual void draw (Display &display);
    65     
    72     
    66     /**
    73     /**
    67      * Resize sub-views
    74      * Resize sub-views
    68      */
    75      */
    69     virtual void resize (const PixelArea &new_area);
    76     virtual void resize (const PixelArea &new_area);