The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
wb::highlighter::highlight_main_visitor Class Reference

#include <highlighter.hpp>

Inheritance diagram for wb::highlighter::highlight_main_visitor:
Inheritance graph

Public Member Functions

 highlight_main_visitor (highlighter &h)
 
void visit (move_ptr)
 
void visit (attack_ptr)
 
void visit (recruit_ptr)
 
void visit (recall_ptr)
 
void visit (suppose_dead_ptr)
 

Private Attributes

highlighterhighlighter_
 

Additional Inherited Members

- Protected Member Functions inherited from wb::visitor
virtual ~visitor ()
 

Detailed Description

Definition at line 93 of file highlighter.hpp.

Constructor & Destructor Documentation

wb::highlighter::highlight_main_visitor::highlight_main_visitor ( highlighter h)
inline

Definition at line 95 of file highlighter.hpp.

Member Function Documentation

void wb::highlighter::highlight_main_visitor::visit ( move_ptr  move)
virtual
void wb::highlighter::highlight_main_visitor::visit ( attack_ptr  attack)
virtual
Todo:
: highlight the attack indicator

Implements wb::visitor.

Definition at line 303 of file highlighter.cpp.

void wb::highlighter::highlight_main_visitor::visit ( recruit_ptr  recruit)
virtual
Todo:
: find some suitable effect for mouseover on planned recruit.

Implements wb::visitor.

Definition at line 309 of file highlighter.cpp.

References display::add_exclusive_draw(), and resources::screen.

void wb::highlighter::highlight_main_visitor::visit ( recall_ptr  )
inlinevirtual
Todo:
: find some suitable effect for mouseover on planned recall.

Implements wb::visitor.

Definition at line 100 of file highlighter.hpp.

void wb::highlighter::highlight_main_visitor::visit ( suppose_dead_ptr  )
inlinevirtual

Implements wb::visitor.

Definition at line 101 of file highlighter.hpp.

Member Data Documentation

highlighter& wb::highlighter::highlight_main_visitor::highlighter_
private

Definition at line 103 of file highlighter.hpp.

Referenced by visit().


The documentation for this class was generated from the following files: