You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
register_param(&m_barSize, F0R_PARAM_DOUBLE, "barSize", "Size of the black bar");
register_param(&m_pointerMethod, F0R_PARAM_BOOL, "pointerMethod", "Pointer Method (internal)");
I prefer the second version because most plugins already use f0r_param_bool for the boolean params and the calls to register_param could be changed mechanically.
The text was updated successfully, but these errors were encountered:
For example, tutorial.cpp has this code:
Because f0r_param_bool is of type 'double', the wrong register_param function is called for m_pointerMethod.
I see two ways of fixing this without breaking external API/ABI compatibility.
and change the calls in tutorial.cpp:
I prefer the second version because most plugins already use f0r_param_bool for the boolean params and the calls to register_param could be changed mechanically.
The text was updated successfully, but these errors were encountered: