Struct to store the cursor position when entering text. More...
#include <stddef.h>
Include dependency graph for state.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | EnterState |
| Keep our place when entering a string. More... | |
Functions | |
| void | enter_state_free (struct EnterState **ptr) |
| Free an EnterState. | |
| struct EnterState * | enter_state_new (void) |
| Create a new EnterState. | |
| void | enter_state_resize (struct EnterState *es, size_t num) |
| Make the buffer bigger. | |
Struct to store the cursor position when entering text.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file state.h.
| void enter_state_free | ( | struct EnterState ** | ptr | ) |
Free an EnterState.
| [out] | ptr | EnterState to free |
Definition at line 38 of file state.c.
Here is the caller graph for this function:| struct EnterState * enter_state_new | ( | void | ) |
Create a new EnterState.
| ptr | New EnterState |
Definition at line 74 of file state.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void enter_state_resize | ( | struct EnterState * | es, |
| size_t | num ) |
Make the buffer bigger.
| es | State of the Enter buffer |
| num | Number of wide characters |
Definition at line 54 of file state.c.
Here is the caller graph for this function: