NCBI C++ ToolKit
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CNoFocusBitmapButton Class Reference

Search Toolkit Book for CNoFocusBitmapButton

#include <gui/widgets/wx/nf_bitmap_button.hpp>

+ Inheritance diagram for CNoFocusBitmapButton:
+ Collaboration diagram for CNoFocusBitmapButton:

Public Member Functions

 CNoFocusBitmapButton (wxWindow *parent, wxWindowID id, const wxBitmap &bitmap, const wxBitmap &hoverBitmap, const wxPoint &pos)
 CNoFocusBitmapButton. More...
 
virtual bool AcceptsFocus () const
 

Private Member Functions

void OnPaint (wxPaintEvent &event)
 
void OnMotion (wxMouseEvent &event)
 
void OnMouseLeave (wxMouseEvent &event)
 
void OnMouseDown (wxMouseEvent &event)
 
void OnMouseUp (wxMouseEvent &event)
 
void OnCaptureLost (wxMouseCaptureLostEvent &event)
 

Private Attributes

wxBitmap m_Bitmap
 
wxBitmap m_HoverBitmap
 
bool m_MouseOver
 

Detailed Description

Definition at line 44 of file nf_bitmap_button.hpp.

Constructor & Destructor Documentation

◆ CNoFocusBitmapButton()

CNoFocusBitmapButton::CNoFocusBitmapButton ( wxWindow *  parent,
wxWindowID  id,
const wxBitmap &  bitmap,
const wxBitmap &  hoverBitmap,
const wxPoint &  pos 
)

CNoFocusBitmapButton.

Definition at line 50 of file nf_bitmap_button.cpp.

Member Function Documentation

◆ AcceptsFocus()

virtual bool CNoFocusBitmapButton::AcceptsFocus ( ) const
inlinevirtual

Definition at line 53 of file nf_bitmap_button.hpp.

◆ OnCaptureLost()

void CNoFocusBitmapButton::OnCaptureLost ( wxMouseCaptureLostEvent &  event)
private

Definition at line 112 of file nf_bitmap_button.cpp.

References m_MouseOver.

◆ OnMotion()

void CNoFocusBitmapButton::OnMotion ( wxMouseEvent &  event)
private

Definition at line 68 of file nf_bitmap_button.cpp.

References variation::Contains(), and m_MouseOver.

◆ OnMouseDown()

void CNoFocusBitmapButton::OnMouseDown ( wxMouseEvent &  event)
private

Definition at line 90 of file nf_bitmap_button.cpp.

References m_MouseOver.

◆ OnMouseLeave()

void CNoFocusBitmapButton::OnMouseLeave ( wxMouseEvent &  event)
private

Definition at line 84 of file nf_bitmap_button.cpp.

References m_MouseOver.

◆ OnMouseUp()

void CNoFocusBitmapButton::OnMouseUp ( wxMouseEvent &  event)
private

Definition at line 97 of file nf_bitmap_button.cpp.

References variation::Contains(), GetId(), and m_MouseOver.

◆ OnPaint()

void CNoFocusBitmapButton::OnPaint ( wxPaintEvent &  event)
private

Definition at line 61 of file nf_bitmap_button.cpp.

References m_Bitmap, m_HoverBitmap, and m_MouseOver.

Member Data Documentation

◆ m_Bitmap

wxBitmap CNoFocusBitmapButton::m_Bitmap
private

Definition at line 63 of file nf_bitmap_button.hpp.

Referenced by OnPaint().

◆ m_HoverBitmap

wxBitmap CNoFocusBitmapButton::m_HoverBitmap
private

Definition at line 64 of file nf_bitmap_button.hpp.

Referenced by OnPaint().

◆ m_MouseOver

bool CNoFocusBitmapButton::m_MouseOver
private

The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:57:00 2024 by modify_doxy.py rev. 669887