ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
Data Structures | Functions
TextView.h File Reference

A Control for presenting and capturing user-provied Text. More...

#include <Objectively/MutableString.h>
#include <ObjectivelyMVC/Control.h>

Go to the source code of this file.

Data Structures

struct  TextView
 A Control for presenting and capturing user-provied Text. More...
 
struct  TextViewDelegate
 The TextView delegate protocol. More...
 

Functions

OBJECTIVELYMVC_EXPORT Class * _TextView (void)
 

Detailed Description

A Control for presenting and capturing user-provied Text.

Definition in file TextView.h.

Function Documentation

◆ _TextView()

OBJECTIVELYMVC_EXPORT Class * _TextView ( void  )

Definition at line 386 of file TextView.c.

386 {
387 static Class *clazz;
388 static Once once;
389
390 do_once(&once, {
391 clazz = _initialize(&(const ClassDef) {
392 .name = "TextView",
393 .superclass = _Control(),
394 .instanceSize = sizeof(TextView),
395 .interfaceOffset = offsetof(TextView, interface),
396 .interfaceSize = sizeof(TextViewInterface),
398 });
399 });
400
401 return clazz;
402}
static void initialize(Class *clazz)
Definition: TextView.c:366
Class * _Control(void)
The Control archetype.
Definition: Control.c:379
A Control for presenting and capturing user-provied Text.
Definition: TextView.h:74