Clapkit
Loading...
Searching...
No Matches
ckRadiobox.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 * CKCheckbox
9 * ----------------------------------------------------------------------
10 * Defines a radiobox.
11 *
12 */
13
14#pragma once
15
16#include "ckApp.h"
17#include "ckCheckbox.h"
18
23class CKRadiobox : public CKCheckbox {
24
25 public:
26 CKRadiobox(const CKControlInitParams& params);
27 virtual ~CKRadiobox();
28 virtual bool HandleEvent(const CKEvent& evt);
29
30 public:
31 uint32_t groupID = 0;
32};
Defines a checkbox control.
Definition ckCheckbox.h:24
Defines a radio box control.
Definition ckRadiobox.h:23
virtual ~CKRadiobox()
Definition ckRadiobox.cpp:20
uint32_t groupID
Definition ckRadiobox.h:31
virtual bool HandleEvent(const CKEvent &evt)
Definition ckRadiobox.cpp:23
Initialization parameters for a CKControl.
Definition ckControl.h:27
Defines an event raised by the framework, mostly for user actions.
Definition ckTypes.h:490