CLuaInstCCText::CCTextScroll: Add Parameter 'pages'

- By pages parameter the number of pages can be specified
   to be scrolled
 - Set Lua api version to 1.30

Example:
	ct = ctext.new{...}
	...
	ct:scroll{dir="down", pages=2};
This commit is contained in:
M. Liebmann
2015-12-14 22:33:33 +01:00
parent ed26f2ea05
commit e3fdcaec99
2 changed files with 7 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ extern "C" {
#include "luainstance_helpers.h"
#define LUA_API_VERSION_MAJOR 1
#define LUA_API_VERSION_MINOR 29
#define LUA_API_VERSION_MINOR 30
/* inspired by Steve Kemp http://www.steve.org.uk/ */
class CLuaInstance