The Battle for Wesnoth  1.15.0-dev
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

◆ highlight_main_visitor()

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

Definition at line 95 of file highlighter.hpp.

Member Function Documentation

◆ visit() [1/5]

void wb::highlighter::highlight_main_visitor::visit ( move_ptr  move)
virtual
Todo:
find some highlight animation

Implements wb::visitor.

Definition at line 290 of file highlighter.cpp.

References display::add_exclusive_draw(), wb::move::ARROW_BRIGHTNESS_FOCUS, and display::get_singleton().

◆ visit() [2/5]

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

Implements wb::visitor.

Definition at line 306 of file highlighter.cpp.

◆ visit() [3/5]

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 312 of file highlighter.cpp.

References display::add_exclusive_draw(), and display::get_singleton().

◆ visit() [4/5]

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.

◆ visit() [5/5]

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_

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

Definition at line 103 of file highlighter.hpp.


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