Commit Graph

53 Commits

Author SHA1 Message Date
Peter Kümmel
ad175314c5 cmake: fix install rules
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27828 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-09 20:13:04 +00:00
Bernhard Roider
1a77c867a2 CmdDef.cpp/h: A class that manages command definitions. The definitions are
by default read from lib/commands/default.def 
              A .def file allows to define a command with
              \define "Name" "lfun"
              where Name is the name of the new command and lfun is the code
              to be executed.
              \def_file "FileName"
              allows to include another .def file.
              The implementation of CmdDef is similar to KeyMap, i.e. there is 
              one instance created in the LyX.cpp that reads the .def file, holds 
              a list containing all definitions, and supplies access methods.


LFUN_CALL:    The new lfun is used to execute a command definition, e.g.
              call Name

If a toolbar item has the associated action "call Name" then the image 
lib/images/commands/Name.png is used for the button.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 23:27:03 +00:00
Peter Kümmel
3c4cfcbbdd cmake: initial install support, only copying files is working
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18176 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-02 20:59:48 +00:00