ARB
Public Member Functions | List of all members
AW_clicked_text Class Reference

#include <aw_device_click.hxx>

Inheritance diagram for AW_clicked_text:
Inheritance graph
[legend]
Collaboration diagram for AW_clicked_text:
Collaboration graph
[legend]

Public Member Functions

void assign (AW::Rectangle textArea_, int distance_, const AW_pos &nearest_rel_pos_, const AW_click_cd *click_cd_)
 
bool operator== (const AW_clicked_element &other) const OVERRIDE
 
AW::Position get_attach_point () const OVERRIDE
 
AW::Rectangle get_bounding_box () const OVERRIDE
 
int indicate_selected (AW_device *d, int gc) const OVERRIDE
 
AW_clicked_elementclone () const OVERRIDE
 
- Public Member Functions inherited from AW_clicked_element
virtual ~AW_clicked_element ()
 
AW_CL cd1 () const
 
AW_CL cd2 () const
 
bool does_exist () const
 
bool is_text () const
 
bool is_line () const
 
bool is_box () const
 
bool is_polygon () const
 
double get_rel_pos () const
 
int get_distance () const
 
AW::LineVector get_connecting_line (const AW_clicked_element &other) const
 

Additional Inherited Members

- Protected Member Functions inherited from AW_clicked_element
 AW_clicked_element ()
 
void assign (int distance_, const AW_pos &nearest_rel_pos_, const AW_click_cd *click_cd_)
 

Detailed Description

Definition at line 108 of file aw_device_click.hxx.

Member Function Documentation

void AW_clicked_text::assign ( AW::Rectangle  textArea_,
int  distance_,
const AW_pos nearest_rel_pos_,
const AW_click_cd click_cd_ 
)
inline

Definition at line 111 of file aw_device_click.hxx.

References AW_clicked_element::assign().

bool AW_clicked_text::operator== ( const AW_clicked_element other) const
inlinevirtual

Implements AW_clicked_element.

Definition at line 116 of file aw_device_click.hxx.

References AW::nearlyEqual().

AW::Position AW_clicked_text::get_attach_point ( ) const
inlinevirtual

Implements AW_clicked_element.

Definition at line 121 of file aw_device_click.hxx.

References AW::LineVector::centroid().

AW::Rectangle AW_clicked_text::get_bounding_box ( ) const
inlinevirtual

Implements AW_clicked_element.

Definition at line 122 of file aw_device_click.hxx.

int AW_clicked_text::indicate_selected ( AW_device d,
int  gc 
) const
virtual

Implements AW_clicked_element.

Definition at line 284 of file AW_device_click.cxx.

References AW_device::box(), and AW::FillStyle::SOLID.

AW_clicked_element* AW_clicked_text::clone ( ) const
inlinevirtual

Implements AW_clicked_element.

Definition at line 125 of file aw_device_click.hxx.


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