aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/ResTraits.hh
AgeCommit message (Collapse)AuthorFilesLines
2011-07-12Add RangeTraits class which automatically clamps the value of resourcesPavel Labath1-0/+36
and start using it.
2011-07-12Enable the resource traits classes to hold non-static membersPavel Labath1-6/+12
ps: the Resource class inherits from the Traits class instead of holding it as a member because it's more size-efficient (base classes can have zero size, members cannot).
2011-06-16Vector resources can now specify which char to use as delimitersPavel Labath1-2/+2
when saving/loading to/from string representation. This is needed for the next commit.
2011-06-16Add LocaleStringTraits resource classPavel Labath1-2/+19
for resources which need to work with localised strings.
2011-06-15Avoid a "converting to int from foo" compiler warningPavel Labath1-1/+1
2011-06-15Add support for array lua resourcesPavel Labath1-2/+2
2011-06-15Simplify FbTk::Resource template classPavel Labath1-0/+208
by outsourcing the conversion from string/lua to the specific type (and back) to a separate class. This change touches a lot of files because the interface of FbTk::Resource changed slightly. However, the changes are minor.