mirror of
https://github.com/xenia-project/elemental-forms.git
synced 2025-02-18 10:39:37 +00:00
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
/**
|
|
******************************************************************************
|
|
* Elemental Forms : a lightweight user interface framework *
|
|
******************************************************************************
|
|
* Copyright 2015 Ben Vanik. All rights reserved. Licensed as BSD 3-clause. *
|
|
* Portions ©2011-2015 Emil Segerås: https://github.com/fruxo/turbobadger *
|
|
******************************************************************************
|
|
*/
|
|
|
|
#ifndef EL_ELEMENTAL_FORMS_H_
|
|
#define EL_ELEMENTAL_FORMS_H_
|
|
|
|
#include "el/config.h"
|
|
#include "el/elements.h"
|
|
#include "el/util/string.h"
|
|
|
|
namespace el {
|
|
namespace graphics {
|
|
class Renderer;
|
|
} // namespace graphics
|
|
} // namespace el
|
|
|
|
namespace el {
|
|
|
|
using el::util::format_string;
|
|
|
|
// Initializes Elemental Forms. Call this before using any elemental API.
|
|
bool Initialize(graphics::Renderer* renderer);
|
|
|
|
// Shuts down Elemental Forms. Call this after deleting the last element, to
|
|
// free libelemental internals.
|
|
void Shutdown();
|
|
|
|
// Returns true if the Elemental Forms library is initialized.
|
|
bool is_initialized();
|
|
|
|
} // namespace el
|
|
|
|
#endif // EL_ELEMENTAL_FORMS_H_
|