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

#include <dropdown_helper.h>

+ Inheritance diagram for cfg_dropdown_history_mt:

Public Member Functions

 cfg_dropdown_history_mt (const GUID &p_guid, unsigned p_max=10, const char *init_vals="")
 
void get_state (pfc::string_base &out) const
 
void set_state (const char *val)
 
- Public Member Functions inherited from _cfg_dropdown_history_base
 _cfg_dropdown_history_base (unsigned p_max)
 
bool add_item (const char *item)
 
bool add_item (const char *item, HWND combobox)
 
bool is_empty ()
 
bool on_context (HWND wnd, LPARAM coords)
 
void on_init (HWND ctrl, const char *initVal)
 
void setup_dropdown (HWND wnd)
 
void setup_dropdown (HWND wnd, UINT id)
 

Private Attributes

cfg_string_mt m_state
 

Additional Inherited Members

- Public Types inherited from _cfg_dropdown_history_base
enum  { separator = '\n' }
 

Detailed Description

Definition at line 36 of file dropdown_helper.h.

Constructor & Destructor Documentation

cfg_dropdown_history_mt::cfg_dropdown_history_mt ( const GUID p_guid,
unsigned  p_max = 10,
const char *  init_vals = "" 
)
inline

Definition at line 38 of file dropdown_helper.h.

38 : _cfg_dropdown_history_base(p_max), m_state(p_guid, init_vals) {}
_cfg_dropdown_history_base(unsigned p_max)

Member Function Documentation

void cfg_dropdown_history_mt::get_state ( pfc::string_base out) const
inlinevirtual

Implements _cfg_dropdown_history_base.

Definition at line 40 of file dropdown_helper.h.

40 {m_state.get(out);}
void get(pfc::string_base &out) const
Definition: cfg_var.h:127
void cfg_dropdown_history_mt::set_state ( const char *  val)
inlinevirtual

Implements _cfg_dropdown_history_base.

Definition at line 39 of file dropdown_helper.h.

39 {m_state.set(val);}
void set(const char *val, t_size valLen=~0)
Definition: cfg_var.h:131

Field Documentation

cfg_string_mt cfg_dropdown_history_mt::m_state
private

Definition at line 42 of file dropdown_helper.h.


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