projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Big CMakeLists update.
[supertux.git]
/
src
/
scripting
/
floating_image.hpp
diff --git
a/src/scripting/floating_image.hpp
b/src/scripting/floating_image.hpp
index
78f39df
..
7fd9206
100644
(file)
--- a/
src/scripting/floating_image.hpp
+++ b/
src/scripting/floating_image.hpp
@@
-23,6
+23,7
@@
#ifndef SCRIPTING_API
#define __suspend
#include <string>
#ifndef SCRIPTING_API
#define __suspend
#include <string>
+#include "ref.hpp"
class FloatingImage;
typedef FloatingImage _FloatingImage;
class FloatingImage;
typedef FloatingImage _FloatingImage;
@@
-48,14
+49,15
@@
public:
bool get_visible();
void set_action(const std::string& action);
std::string get_action();
bool get_visible();
void set_action(const std::string& action);
std::string get_action();
-
+ void fade_in(float fadetime);
+ void fade_out(float fadetime);
+
#ifndef SCRIPTING_API
private:
#ifndef SCRIPTING_API
private:
-
_FloatingImage*
floating_image;
+
Ref<_FloatingImage>
floating_image;
#endif
};
}
#endif
#endif
};
}
#endif
-