Skip to content

Commit

Permalink
docs: some fixes to Glfw integration documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
swistakm committed Nov 17, 2016
1 parent 31e59e6 commit 1b9c85b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions doc/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ Cython
Sphinx==1.4.8
sphinxcontrib-napoleon
PyOpenGL
glfw
pypandoc
git-lfs
4 changes: 3 additions & 1 deletion doc/source/reference/imgui.impl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ imgui.impl subpackage
=====================


.. automodule:: imgui.impl
.. autoclass:: imgui.impl.GlfwImpl
:undoc-members:
:members:

7 changes: 6 additions & 1 deletion imgui/impl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# -*- coding: utf-8 -*-
from imgui.impl._glfw import Impl as GlfwImpl
from imgui.impl._glfw import GlfwImpl


__all__ = [
'GlfwImpl'
]
4 changes: 3 additions & 1 deletion imgui/impl/_glfw.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
import ctypes


class Impl(object):
class GlfwImpl(object):
"""Basic GLFW3 integration implementation."""

VERTEX_SHADER_SRC = """
#version 330
Expand Down

0 comments on commit 1b9c85b

Please sign in to comment.