add remote page loading
This commit is contained in:
12
src/layout.h
12
src/layout.h
@@ -1,15 +1,4 @@
|
||||
#pragma once
|
||||
#include "shape.h"
|
||||
#include "util.h"
|
||||
#include "shader.h"
|
||||
#include "font.h"
|
||||
#include "asset.h"
|
||||
#include "rtt.h"
|
||||
#include "bezier.h"
|
||||
#include "canvas.h"
|
||||
#include "event.h"
|
||||
#include <tinyxml2.h>
|
||||
#include <yoga/Yoga.h>
|
||||
|
||||
class LayoutManager
|
||||
{
|
||||
@@ -23,6 +12,7 @@ public:
|
||||
void unload();
|
||||
void create();
|
||||
bool load(const char* path);
|
||||
bool parse(const std::string& xml_string) noexcept;
|
||||
bool reload();
|
||||
class Node* operator[](uint16_t id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user