Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

CtrlMapper

 

class CtrlMapper

Trivial utility class for mapping values to widgets and back. It is sort of similar to CtrlRetriever, but does immediate transfer of values based on flag

 

 

Public Method List

 

template <class TCtrlMapper& operator()(Ctrl& ctrl, T& val)

Sets value of ctrl to val or val to ctrl based on current direction setting.

 


 

CtrlMapper& ToCtrls()

Sets direction flag to move values to widgets.

 


 

CtrlMapper& ToValues()

Sets direction flag to move widgets to values

 

 

Last edit by cxl on 02/19/2020. Do you want to contribute?. T++