Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/CInput.h
Show All 12 Lines | |||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | ||||
*/ | */ | ||||
#ifndef INCLUDED_CINPUT | #ifndef INCLUDED_CINPUT | ||||
#define INCLUDED_CINPUT | #define INCLUDED_CINPUT | ||||
#include "GUI.h" | #include "gui/IGUIScrollBarOwner.h" | ||||
#include "lib/external_libraries/libsdl.h" | #include "lib/external_libraries/libsdl.h" | ||||
#include <vector> | |||||
/** | /** | ||||
* Text field where you can input and edit the text. | * Text field where you can input and edit the text. | ||||
* | * | ||||
* It doesn't use IGUITextOwner, because we don't need | * It doesn't use IGUITextOwner, because we don't need | ||||
* any other features than word-wrapping, and we need to be | * any other features than word-wrapping, and we need to be | ||||
* able to rapidly change the string. | * able to rapidly change the string. | ||||
* | |||||
* @see IGUIObject | |||||
*/ | */ | ||||
class CInput : public IGUIScrollBarOwner | class CInput : public IGUIScrollBarOwner | ||||
{ | { | ||||
GUI_OBJECT(CInput) | GUI_OBJECT(CInput) | ||||
protected: // forwards | protected: // forwards | ||||
struct SRow; | struct SRow; | ||||
▲ Show 20 Lines • Show All 154 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator