comparison m_option.h @ 10590:73e7a5165bcd

1000l, thanks Pierre
author alex
date Wed, 13 Aug 2003 09:42:53 +0000
parents b2bf632d37b5
children 57bdcdb061d7
comparison
equal deleted inserted replaced
10589:06dcdf866106 10590:73e7a5165bcd
132 struct m_option { 132 struct m_option {
133 char *name; 133 char *name;
134 void *p; 134 void *p;
135 m_option_type_t* type; 135 m_option_type_t* type;
136 unsigned int flags; 136 unsigned int flags;
137 float min,max; 137 double min,max;
138 // This used to be function pointer to hold a 'reverse to defaults' func. 138 // This used to be function pointer to hold a 'reverse to defaults' func.
139 // Nom it can be used to pass any type of extra args. 139 // Nom it can be used to pass any type of extra args.
140 // Passing a 'default func' is still valid for all func based option types 140 // Passing a 'default func' is still valid for all func based option types
141 void* priv; // Type dependent data (for all kind of extended setting) 141 void* priv; // Type dependent data (for all kind of extended setting)
142 }; 142 };