Clapkit
Loading...
Searching...
No Matches
ck_pTextableControl.h
Go to the documentation of this file.
1/*
2 *
3 * Clapkit
4 * ----------------------------------------------------------------------
5 * A wrapper for creating a 'generalized' app for Classic MacOS
6 * that (hopefully) can be ported easily to other platforms.
7 *
8 * CKTextableControl
9 * ----------------------------------------------------------------------
10 * Describes a control where you can set a text value.
11 * This is is not a class you want to be the base of anything, use
12 * in addition to a CKControl.
13 *
14 */
15
16#pragma once
17
22
23 public:
25 virtual ~CKTextableControl();
26 virtual void SetText(const char* text);
27 virtual const char* GetText();
28
29 protected:
30 char* __text;
31};
A base for controls that have a text property.
Definition ck_pTextableControl.h:21
virtual const char * GetText()
Definition ck_pTextableControl.cpp:38
CKTextableControl()
Definition ck_pTextableControl.cpp:20
virtual void SetText(const char *text)
Definition ck_pTextableControl.cpp:30
virtual ~CKTextableControl()
Definition ck_pTextableControl.cpp:25
char * __text
Definition ck_pTextableControl.h:30