pupil-labs / pyglui

cython powered OpenGL gui that works with glfw
MIT License
29 stars 20 forks source link

Add 'disabled' attribute for elements #2

Closed willpatera closed 9 years ago

willpatera commented 9 years ago

Elements will need to be able to be disabled or inactive in the UI, but still visible. This could be added as a property of each element. The disabled state would need to be drawn differently (i.e. grey) and not accept any input (i.e. pass 'handle-input').

mkassner commented 9 years ago

Agreed. A better name would be read-only.

mkassner commented 9 years ago

Field is implemented and handle_input methods updated.