The Battle for Wesnoth  1.13.4+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 92 of file highlighter.hpp.

Constructor & Destructor Documentation

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

Definition at line 94 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 288 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 294 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 99 of file highlighter.hpp.

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

Implements wb::visitor.

Definition at line 100 of file highlighter.hpp.

Member Data Documentation

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

Definition at line 102 of file highlighter.hpp.

Referenced by visit().


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