aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Resource.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Factor out "session." from resource namesPavel Labath1-8/+10
this reduces typing and it makes more sense in lua, since there the resources are implemented as hierarchical tables and the topmost table has to be handled a bit specially.
2011-11-01Move more common stuff of (L)ResourceManagers to their base classPavel Labath1-27/+29
2011-11-01A rough version of resource implementation in luaPavel Labath1-15/+18
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.
2011-11-01convert ResourceManager::{add,remove}Resource from template to a regular ↵Pavel Labath1-0/+29
function
2009-10-01made code simplerMathias Gumz1-9/+5
2008-04-21some fixes for gcc 3.4Thomas Orgis1-1/+1
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-04-03fixed a bug, removed some unused codemarkt1-1/+9
2007-04-01fixed problem with creating windows in iconic statemarkt1-1/+3
2006-10-27cosmetic patch from slava semushin, removes whitespaces andmathias1-16/+18
uses only those things from "namespace std" what we really need.
2006-06-21fix nls... notably classify text on conversion whether its for X or simonb1-2/+2
console, plus handle catalogs better.
2006-02-16updated copyright infomathias1-1/+1
2005-11-22const resourceValue functionfluxgen1-2/+14
2005-01-24copyright datemathias1-1/+1
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-08-31add autoconf check for std c++ headersrathnor1-2/+6
2004-06-07update NLS string handling...rathnor1-3/+5
2004-01-19minor bug fixfluxgen1-2/+2
2003-12-19resourceValue and findResourcefluxgen1-7/+21
2003-12-19setResourceValue function and a dumpfluxgen1-1/+14
2003-07-18reorganise operation of ResourceManagerrathnor1-23/+82
plus fix initialisation of layer for slit and toolbar
2003-05-18moved Resource to FbTk and change name of DirHelper to FbTk Directoryfluxgen1-0/+119