Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

popup Struct Reference

#include <fack.hpp>

Inheritance diagram for popup:

obj_or_concept container zoomable List of all members.

Public Member Functions

virtual void render (SDL_Surface *screen, const pt< game_state_t > game_state) const =0
virtual pt< container_pick_resultitem_at_screen_pos (int_pair pos, pt< popup > me_as_a_smart_ptr) const =0
 popup (string readable_name, variant< SDL_Rect, cannot_be_closed > closing_area, SDL_Surface *picture, int_pair position_in_screen, pt< can_appear_closed_in_inv > pick_up_info)

Public Attributes

variant< SDL_Rect, cannot_be_closedclosing_area
SDL_Surface * picture
int_pair position_in_screen
pt< can_appear_closed_in_invpick_up_info

Constructor & Destructor Documentation

popup::popup string  readable_name,
variant< SDL_Rect, cannot_be_closed closing_area,
SDL_Surface *  picture,
int_pair  position_in_screen,
pt< can_appear_closed_in_inv pick_up_info
[inline]
 

Definition at line 928 of file fack.hpp.

References picture.


Member Function Documentation

virtual pt<container_pick_result> popup::item_at_screen_pos int_pair  pos,
pt< popup me_as_a_smart_ptr
const [pure virtual]
 

Implemented in zoomable, and container.

virtual void popup::render SDL_Surface *  screen,
const pt< game_state_t game_state
const [pure virtual]
 

Implemented in zoomable, and container.


Member Data Documentation

variant<SDL_Rect, cannot_be_closed> popup::closing_area
 

Definition at line 910 of file fack.hpp.

pt<can_appear_closed_in_inv> popup::pick_up_info
 

Definition at line 913 of file fack.hpp.

SDL_Surface* popup::picture
 

Definition at line 911 of file fack.hpp.

Referenced by popup().

int_pair popup::position_in_screen
 

Definition at line 912 of file fack.hpp.


The documentation for this struct was generated from the following file:
Generated on Wed May 25 15:36:11 2005 for FACK by  doxygen 1.4.0