foobar2000 SDK  2015-08-03
Public Member Functions | Protected Member Functions | Private Attributes
CMenuSelectionReceiver_UiElement

#include <misc.h>

+ Inheritance diagram for CMenuSelectionReceiver_UiElement:

Public Member Functions

 CMenuSelectionReceiver_UiElement (service_ptr_t< ui_element_instance > p_owner, unsigned p_id_base)
 
- Public Member Functions inherited from CMenuSelectionReceiver
 CMenuSelectionReceiver (HWND p_parent)
 
 ~CMenuSelectionReceiver ()
 
 BEGIN_MSG_MAP (CMenuSelectionReceiver) MESSAGE_HANDLER(WM_MENUSELECT
 
 DECLARE_WND_CLASS_EX (TEXT("{DF0087DB-E765-4283-BBAB-6AB2E8AB64A1}"), 0, 0)
 
OnMenuSelect END_MSG_MAP () protected
 

Protected Member Functions

bool QueryHint (unsigned p_id, pfc::string_base &p_out)
 

Private Attributes

const unsigned m_id_base
 
const service_ptr_t< ui_element_instancem_owner
 

Additional Inherited Members

- Public Types inherited from CMenuSelectionReceiver
typedef CWindowImpl< CMenuSelectionReceiver_baseClass
 

Detailed Description

Definition at line 136 of file misc.h.

Constructor & Destructor Documentation

CMenuSelectionReceiver_UiElement::CMenuSelectionReceiver_UiElement ( service_ptr_t< ui_element_instance p_owner,
unsigned  p_id_base 
)
inline

Definition at line 138 of file misc.h.

138 : CMenuSelectionReceiver(p_owner->get_wnd()), m_owner(p_owner), m_id_base(p_id_base) {}
const unsigned m_id_base
Definition: misc.h:144
const service_ptr_t< ui_element_instance > m_owner
Definition: misc.h:145
CMenuSelectionReceiver(HWND p_parent)
Definition: misc.h:3

Member Function Documentation

bool CMenuSelectionReceiver_UiElement::QueryHint ( unsigned  p_id,
pfc::string_base p_out 
)
inlineprotected

Definition at line 140 of file misc.h.

140  {
141  return m_owner->edit_mode_context_menu_get_description(p_id,m_id_base,p_out);
142  }
const unsigned m_id_base
Definition: misc.h:144
const service_ptr_t< ui_element_instance > m_owner
Definition: misc.h:145

Field Documentation

const unsigned CMenuSelectionReceiver_UiElement::m_id_base
private

Definition at line 144 of file misc.h.

const service_ptr_t<ui_element_instance> CMenuSelectionReceiver_UiElement::m_owner
private

Definition at line 145 of file misc.h.


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