Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::drawerbase::date_chooser::trigger::model Class Reference

Classes

struct  drawing_basis
 
struct  view_month_rep
 

Public Types

enum  where {
  where::none, where::left_button, where::right_button, where::topbar,
  where::textarea
}
 
enum  page_mode { page_mode::date, page_mode::month }
 

Public Member Functions

 model ()
 
void move (bool forward, graph_reference graph, window window_handle)
 
void enter (graph_reference graph, window window_handle)
 
bool respond_key (graph_reference graph, const arg_keyboard &arg, bool &redrawn)
 
::nana::date read () const
 
void weekname (std::size_t pos, std::string &&name)
 
where pos_where (const ::nana::size &area, const ::nana::point &pos)
 
bool set_where (where pos)
 
int get_trace_logic_pos () const
 
bool get_trace (point pos, int &res) const
 
int days_of_view_month () const
 
void step_view_month (bool is_forward)
 
view_month_repview_month ()
 
void set_view_month (int month)
 
void choose (window window_handle, int day)
 
bool chose () const
 
void render (graph_reference graph)
 
void perf_transform (graph_reference graph, window window_handle, transform_action transf)
 

Friends

class trigger
 

Member Enumeration Documentation

Enumerator
date 
month 
Enumerator
none 
left_button 
right_button 
topbar 
textarea 

Constructor & Destructor Documentation

nana::drawerbase::date_chooser::trigger::model::model ( )
inline

Member Function Documentation

void nana::drawerbase::date_chooser::trigger::model::choose ( window  window_handle,
int  day 
)
inline
bool nana::drawerbase::date_chooser::trigger::model::chose ( ) const
inline
int nana::drawerbase::date_chooser::trigger::model::days_of_view_month ( ) const
inline
void nana::drawerbase::date_chooser::trigger::model::enter ( graph_reference  graph,
window  window_handle 
)
inline
bool nana::drawerbase::date_chooser::trigger::model::get_trace ( point  pos,
int &  res 
) const
inline
int nana::drawerbase::date_chooser::trigger::model::get_trace_logic_pos ( ) const
inline
void nana::drawerbase::date_chooser::trigger::model::move ( bool  forward,
graph_reference  graph,
window  window_handle 
)
inline
void nana::drawerbase::date_chooser::trigger::model::perf_transform ( graph_reference  graph,
window  window_handle,
transform_action  transf 
)
inline
where nana::drawerbase::date_chooser::trigger::model::pos_where ( const ::nana::size area,
const ::nana::point pos 
)
inline
::nana::date nana::drawerbase::date_chooser::trigger::model::read ( ) const
inline
void nana::drawerbase::date_chooser::trigger::model::render ( graph_reference  graph)
inline
bool nana::drawerbase::date_chooser::trigger::model::respond_key ( graph_reference  graph,
const arg_keyboard arg,
bool &  redrawn 
)
inline
void nana::drawerbase::date_chooser::trigger::model::set_view_month ( int  month)
inline
bool nana::drawerbase::date_chooser::trigger::model::set_where ( where  pos)
inline
void nana::drawerbase::date_chooser::trigger::model::step_view_month ( bool  is_forward)
inline
view_month_rep& nana::drawerbase::date_chooser::trigger::model::view_month ( )
inline
void nana::drawerbase::date_chooser::trigger::model::weekname ( std::size_t  pos,
std::string &&  name 
)
inline

Friends And Related Function Documentation

friend class trigger
friend

Member Data Documentation

bool nana::drawerbase::date_chooser::trigger::model::is_by_mouse { true }
upoint nana::drawerbase::date_chooser::trigger::model::logic_pos { 8, 8 }
point nana::drawerbase::date_chooser::trigger::model::ms_pos