Pavel Labath
|
104ae7454c
|
Make setting getters/setters atomic.
|
2010-10-31 00:22:35 +02:00 |
|
Pavel Labath
|
0ac1c21ece
|
Avoid compiler warning
|
2010-08-27 16:24:26 +02:00 |
|
Pavel Labath
|
5f60b5427e
|
Improve range_config_setting<>
now it catches negative values assigned to unsigned settings
|
2010-08-25 18:51:29 +02:00 |
|
Pavel Labath
|
68272383fa
|
make conversion functions inline
|
2010-03-10 21:18:03 +01:00 |
|
Pavel Labath
|
ba79c58f37
|
Change setting setter call order, add cleanup function
Call setting setters in the order in which they were registered.
Add a cleanup function, called in the reverse registration order.
|
2010-03-10 19:33:45 +01:00 |
|
Pavel Labath
|
41ddaf9e23
|
refactor settings classes
result: easier declaration of settings, easier construction of custom setting classes, commitcount++
|
2010-03-02 19:29:51 +01:00 |
|
Pavel Labath
|
5c3d06346a
|
Use min() and max() instead of infinity() for default limits
because integral types do not have infinite values
|
2010-02-28 12:13:37 +01:00 |
|
Pavel Labath
|
f6aa8a558f
|
range_checking_accessors class. makes sure setting's value belongs to a specified range
|
2010-02-27 15:15:25 +01:00 |
|
Pavel Labath
|
724fb2585c
|
Refactor default getters/setter for setting and make them more useful
Adding features AND reducing code size.... yeah
|
2010-02-25 21:11:39 +01:00 |
|
Pavel Labath
|
9cf26becf2
|
Change lua::stack_sentry semantics. Using it should be much simpler now
|
2010-02-25 16:24:50 +01:00 |
|
Pavel Labath
|
80b049d1c0
|
Port 'alignment' setting to lua.
|
2010-02-24 20:51:33 +01:00 |
|
Pavel Labath
|
568c372920
|
Make modifying settings from C++ a bit easier
|
2010-02-24 20:27:16 +01:00 |
|
Pavel Labath
|
454f4a12a8
|
A special class for enum settings, which automatically prints error messages
|
2010-02-24 18:38:23 +01:00 |
|
Pavel Labath
|
c61376b60b
|
A framework for registering config settins
similar to the one for data sources.
|
2010-02-17 22:52:19 +01:00 |
|