ocornut_imgui.h 571 B

123456789101112131415161718
  1. /*
  2. * Copyright 2014-2015 Daniel Collin. All rights reserved.
  3. * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
  4. */
  5. #ifndef OCORNUT_IMGUI_H_HEADER_GUARD
  6. #define OCORNUT_IMGUI_H_HEADER_GUARD
  7. #include <ocornut-imgui/imgui.h>
  8. namespace bx { struct AllocatorI; }
  9. void IMGUI_create(float _fontSize, bx::AllocatorI* _allocator);
  10. void IMGUI_destroy();
  11. void IMGUI_beginFrame(int32_t _mx, int32_t _my, uint8_t _button, int32_t _scroll, int _width, int _height, char _inputChar, uint8_t _viewId);
  12. void IMGUI_endFrame();
  13. #endif // OCORNUT_IMGUI_H_HEADER_GUARD