2015-01-17 01:41:37 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2014-2015 Daniel Collin. All rights reserved.
|
|
|
|
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef OCORNUT_IMGUI_H_HEADER_GUARD
|
|
|
|
#define OCORNUT_IMGUI_H_HEADER_GUARD
|
|
|
|
|
|
|
|
#include <ocornut-imgui/imgui.h>
|
|
|
|
|
2015-04-15 23:00:15 -04:00
|
|
|
namespace bx { struct AllocatorI; }
|
|
|
|
|
|
|
|
void IMGUI_create(const void* _data, uint32_t _size, float _fontSize, bx::AllocatorI* _allocator);
|
2015-01-19 20:16:59 -05:00
|
|
|
void IMGUI_destroy();
|
2015-06-10 10:53:50 -04:00
|
|
|
void IMGUI_beginFrame(int32_t _mx, int32_t _my, uint8_t _button, int32_t _scroll, int _width, int _height, char _inputChar, uint8_t _viewId);
|
2015-01-19 20:16:59 -05:00
|
|
|
void IMGUI_endFrame();
|
2015-01-17 01:41:37 -05:00
|
|
|
|
|
|
|
#endif // OCORNUT_IMGUI_H_HEADER_GUARD
|