mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
18 lines
582 B
C++
18 lines
582 B
C++
/*
|
|
* 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>
|
|
|
|
namespace bx { struct AllocatorI; }
|
|
|
|
void IMGUI_create(const void* _data, uint32_t _size, float _fontSize, bx::AllocatorI* _allocator);
|
|
void IMGUI_destroy();
|
|
void IMGUI_beginFrame(int32_t _mx, int32_t _my, uint8_t _button, int _width, int _height, char _inputChar, uint8_t _viewId);
|
|
void IMGUI_endFrame();
|
|
|
|
#endif // OCORNUT_IMGUI_H_HEADER_GUARD
|