Sharpsoft/include/sharpsoft/internal.hpp

23 lines
504 B
C++

#pragma once
#ifdef SHARPSOFT_INTERNAL
#include "basic_types.hpp"
#include "window_types.hpp"
#define HAS_WINDOW_FLAG(pwin, flag) ((pwin->flags & flag) > 0)
namespace sharp
{
namespace internal
{
void add_window(window_base* win_ptr, size_t size);
void render_iter();
void render_loop();
void draw_global_rectangle(const color& color, const int_rect& rect);
void fill_global_rectangle(const color& color, const int_rect& rect);
}
}
#endif