diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-06-05 12:27:13 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-11-01 09:52:46 (GMT) |
commit | fc21fd822e527dbd918c6565e0e2cea82b0466f4 (patch) | |
tree | b658bf437fafb80d39986c77caebcaf608761964 /src/ToolTheme.hh | |
parent | e3fabc4cd47ac5479bca421a4d7b79c0c2d9e120 (diff) | |
download | fluxbox_pavel-fc21fd822e527dbd918c6565e0e2cea82b0466f4.zip fluxbox_pavel-fc21fd822e527dbd918c6565e0e2cea82b0466f4.tar.bz2 |
A rough version of resource implementation in lua
I added a new class, LResourceManager, which should handle loading and saving of resources like
the old ResourceManager, only it does that with the help of lua. I moved the common features of
the two managers (interface + a few functions) to a common base class ResourceManager_base. I
augmented the Resource_base class with two new functions (setFromLua and pushToLua) which are
used by the lua RM instead of getString and setFromString.
Parts of the new RM are written in lua. To avoid loading scripts from a file at runtime I decided
to link compiled lua code straight into the executable. For this purpose I created a small script
which converts a binary file into a declaration of a C array of bytes.
Diffstat (limited to 'src/ToolTheme.hh')
0 files changed, 0 insertions, 0 deletions