help::help_text_area::item_at Class Reference

Function object to find an item at the specified coordinates. More...

List of all members.

Public Member Functions

 item_at (const int x, const int y)
bool operator() (const item &) const

Private Attributes

const int x_
const int y_


Detailed Description

Function object to find an item at the specified coordinates.

Definition at line 360 of file help.cpp.


Constructor & Destructor Documentation

help::help_text_area::item_at::item_at ( const int  x,
const int  y 
) [inline]

Definition at line 362 of file help.cpp.


Member Function Documentation

bool help::help_text_area::item_at::operator() ( const item item  )  const

Definition at line 2476 of file help.cpp.

References point_in_rect(), help::help_text_area::item::rect, x_, and y_.


Member Data Documentation

const int help::help_text_area::item_at::x_ [private]

Definition at line 365 of file help.cpp.

Referenced by operator()().

const int help::help_text_area::item_at::y_ [private]

Definition at line 365 of file help.cpp.

Referenced by operator()().


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs