/
GUI_textentry.h
41 lines (33 loc) · 930 Bytes
/
GUI_textentry.h
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
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
This file is part of TableGUI.
Copyright (c) 2014 Felipe Ferreira da Silva
TableGUI is licensed under MIT license.
See the file "LICENSE" for license details.
*/
#ifndef __GUI_BUTTON_H__
#define __GUI_BUTTON_H__
#include "GUI.h"
#include "GUI_theme.h"
typedef struct TTextEntryPropertiesStruct TTextEntryProperties;
struct TTextEntryPropertiesStruct
{
TIterator *FText;
TIterator *FCursor;
bboolean FTextWrap;
int FPositionY;
int FPositionX;
bboolean FLeftLine;
bboolean FShowGutter;
bboolean FShowLineNumbers;
TColorFloat FGutterBackground;
TColorFloat FGutterForeground;
TColorFloat FTextBackground;
TColorFloat FTextForeground;
TColorFloat FSelectionBackground;
TColorFloat FSelectionForeground;
bboolean FHighlightCurrentLine;
bboolean FDrawSpaces;
};
char * GUITextEntry_GetPrintableCharacters(TIterator *AIterator);
void Alloc_GUITextEntry(TGUIWidget *AWidget);
#endif