14 lines
348 B
C++
14 lines
348 B
C++
#include "core/vfs.h"
|
|
#include "ui/controls.h"
|
|
extern "C" {
|
|
#include "lua.h"
|
|
}
|
|
|
|
int main() {
|
|
playground::Rollover button({0, 0, 10, 10});
|
|
if (!button.down(5, 5) || !button.up(5, 5)) return 1;
|
|
lua_State* state = lua_open();
|
|
if (!state) return 2;
|
|
lua_close(state);
|
|
return playground::normalizePath("A\\B") == "a/b" ? 0 : 3;
|
|
}
|