Skip to content
Super simple demonstration of a text buffer (text box) in openFrameworks
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
textInput.cpp ofx style Sep 12, 2011


Very simple text input.

* Range of standard ascii input keys
* left,right to move cursor
* delete,backspace

Does not support:
* mouse select
* shift select
* clipboard
* up,down key navigation

Generally for simple tasks like when you want to save something with a filename (suggest changing the behavious of OF_KEY_RETURN to save)

There are 2 branches on the github:
* very simple - not object oriented. Chop and change as you like
* ofx style - in a seperate class, but still suggest you chop and change as you like.

Since i presume most people will be changing the code to their own needs, i'm not suggesting that this is a real ofx extension, but instead some code that you can start with and hack with.
Something went wrong with that request. Please try again.