-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpriteLab.h
46 lines (40 loc) · 1.02 KB
/
SpriteLab.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#pragma once
#ifndef SPRITELAB_H
#define SPRITELAB_H
#include <iostream>
#include <SDL_render.h>
#include <SDL_image.h>
#include <stdio.h>
//#include "imgui.h"
#include "imgui_impl_sdl2.h"
#include "imgui_impl_sdlrenderer.h"
#include <ImGuiFileDialog/ImGuiFileDialog.h>
#include <imgui_internal.h>
//#include "Layer.h"
#include "Pixel.h"
//#include "Project.h"
#include "Utilities.h"
SDL_Window* window = nullptr;
SDL_Renderer* renderer = nullptr;
namespace SpriteLab
{
void Render();
void InitImages();
void InitSDL();
void Cleanup();
void ProcessEvents();
void ShortcutKeys();
void RenderMenuBar();
void RenderProjectTabs();
void RenderToolBar();
void RenderTopToolBar();
void RenderLayersMenu();
void RenderCanvas();
void RenderBackground();
void RenderColourPicker(ImVec2 pos);
void RenderProjectsMenu();
void RenderCreateProjectMenu();
//float GetBestCanvasZoom();
}
int main(int argc, char* argv[]);
#endif // SPRITELAB_H