diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-06-05 12:27:13 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2013-02-16 23:20:35 (GMT) |
commit | e27268fc69b776f533a2082d2ca9c13fe863cd80 (patch) | |
tree | b64234dadc3cee3d927f9b8d50a7d4e70795ec84 /src/ClientMenu.cc | |
parent | 8fa9e512eb0958cb93b383a744d1dd53f213b8d7 (diff) | |
download | fluxbox_pavel-e27268fc69b776f533a2082d2ca9c13fe863cd80.zip fluxbox_pavel-e27268fc69b776f533a2082d2ca9c13fe863cd80.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/ClientMenu.cc')
0 files changed, 0 insertions, 0 deletions