Ylva And Malin
Data Structures | Namespaces | Macros | Enumerations | Functions
main.cpp File Reference
#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>
Include dependency graph for main.cpp:

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)
 

Macro Definition Documentation

#define NOC_FILE_DIALOG_IMPLEMENTATION

Enumeration Type Documentation

enum Mode
strong
Enumerator
insert 
erase 

Function Documentation

void grid_update ( EditorCtx ctx,
const sf::Event &  event,
const sf::RenderWindow &  window 
)

Here is the caller graph for this function:

void gui_update ( EditorCtx ctx)

Here is the call graph for this function:

Here is the caller graph for this function:

void logic_update ( EditorCtx ctx)

Here is the caller graph for this function:

int main ( [[maybe_unused] ] int  argc,
[[maybe_unused] ] char **  argv 
)

Here is the call graph for this function:

void output_ctx_info ( EditorCtx ctx)
void setup_grid ( EditorCtx ctx)

Here is the caller graph for this function:

void setup_textures ( EditorCtx ctx)

Here is the call graph for this function:

Here is the caller graph for this function:

void tools_update ( EditorCtx ctx,
const sf::Event &  event,
const sf::RenderWindow &  window 
)

Here is the call graph for this function:

Here is the caller graph for this function: