Ylva And Malin
|
#include <iostream>
#include <queue>
#include <stdio.h>
#include <string>
#include <vector>
#include <experimental/filesystem>
#include <logger.h>
#include <noc_file_dialog.h>
#include <imgui.h>
#include <imgui-SFML.h>
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
Data Structures | |
struct | Event |
struct | TextureSheet |
struct | EditorCtx |
Namespaces | |
UI | |
Notes. | |
Sprite | |
Macros | |
#define | NOC_FILE_DIALOG_IMPLEMENTATION |
Enumerations | |
enum | Mode { Mode::insert, Mode::erase } |
Functions | |
const sf::Vector2f | UI::sheet_size (256.0f, 256.0f) |
const sf::Vector2f | UI::imgui_offset (312.5f, 20.0f) |
sf::Vector2f | UI::get_sheet_position (const sf::RenderWindow &window) |
const sf::Vector2f | Sprite::sprite_size (32.0f, 32.0f) |
void | setup_textures (EditorCtx &ctx) |
void | gui_update (EditorCtx &ctx) |
void | logic_update (EditorCtx &ctx) |
void | tools_update (EditorCtx &ctx, const sf::Event &event, const sf::RenderWindow &window) |
void | grid_update (EditorCtx &ctx, const sf::Event &event, const sf::RenderWindow &window) |
void | setup_grid (EditorCtx &ctx) |
void | output_ctx_info (EditorCtx &ctx) |
int | main ([[maybe_unused]] int argc, [[maybe_unused]] char **argv) |
#define NOC_FILE_DIALOG_IMPLEMENTATION |
|
strong |