diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-06-05 12:27:13 (GMT) |
---|---|---|
committer | Paul Tagliamonte <paultag@fluxbox.org> | 2012-04-07 02:10:40 (GMT) |
commit | 964fa5e114b4bdde158578c10c821ae5613d4b41 (patch) | |
tree | 87c28919eadebadcd478480291291dba44d32c2e /src/FbTk/MultiButtonMenuItem.hh | |
parent | 1cec88dfbb12f7a8702c5bb98ac3b0b2b383d58a (diff) | |
download | fluxbox_paul-964fa5e114b4bdde158578c10c821ae5613d4b41.zip fluxbox_paul-964fa5e114b4bdde158578c10c821ae5613d4b41.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/FbTk/MultiButtonMenuItem.hh')
0 files changed, 0 insertions, 0 deletions