diff options
author | Johannes Schickel | 2008-04-20 15:47:11 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-04-20 15:47:11 +0000 |
commit | f173041811398817ffce870d30ef3b87d1302736 (patch) | |
tree | 78e43d204662641a5d687cbc184ac60913ac870d /engines/kyra/gui.h | |
parent | 38319954d1035a7ec8df335c88d455a4042a94fc (diff) | |
download | scummvm-rg350-f173041811398817ffce870d30ef3b87d1302736.tar.gz scummvm-rg350-f173041811398817ffce870d30ef3b87d1302736.tar.bz2 scummvm-rg350-f173041811398817ffce870d30ef3b87d1302736.zip |
- moved kyra functor code to common/func.h
- adapted debugger code to use functor code from common/func.h
- adapted kyra engine to use functor code from common/func.h
svn-id: r31614
Diffstat (limited to 'engines/kyra/gui.h')
-rw-r--r-- | engines/kyra/gui.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/gui.h b/engines/kyra/gui.h index 214f112995..dfbca22441 100644 --- a/engines/kyra/gui.h +++ b/engines/kyra/gui.h @@ -26,18 +26,18 @@ #ifndef KYRA_GUI_H #define KYRA_GUI_H -#include "kyra/util.h" #include "kyra/kyra.h" #include "common/ptr.h" #include "common/array.h" +#include "common/func.h" namespace Kyra { -#define BUTTON_FUNCTOR(type, x, y) Button::Callback(new Functor1Mem<Button*, int, type>(x, y)) +#define BUTTON_FUNCTOR(type, x, y) Button::Callback(new Common::Functor1Mem<Button*, int, type>(x, y)) struct Button { - typedef Functor1<Button*, int> CallbackFunctor; + typedef Common::Functor1<Button*, int> CallbackFunctor; typedef Common::SharedPtr<CallbackFunctor> Callback; Button *nextButton; |