forked from pyimgui/pyimgui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extra.py
28 lines (25 loc) · 840 Bytes
/
extra.py
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
"""
This module provides extra utilities that are not part of core ImGui C++ API
but are useful in Python application.
"""
from . import core
__all__ = (
"font",
"styled",
"istyled",
"colored",
"vertex_buffer_vertex_pos_offset",
"vertex_buffer_vertex_uv_offset",
"vertex_buffer_vertex_col_offset",
"vertex_buffer_vertex_size",
"index_buffer_index_size",
)
font = core._py_font
styled = core._py_styled
istyled = core._py_istyled
colored = core._py_colored
vertex_buffer_vertex_pos_offset = core._py_vertex_buffer_vertex_pos_offset
vertex_buffer_vertex_uv_offset = core._py_vertex_buffer_vertex_uv_offset
vertex_buffer_vertex_col_offset = core._py_vertex_buffer_vertex_col_offset
vertex_buffer_vertex_size = core._py_vertex_buffer_vertex_size
index_buffer_index_size = core._py_index_buffer_index_size