#include "BlankControl.h" BlankControl::BlankControl(char _cmd, pfodDwgs *_dwgsPtr) : pfodControl(_dwgsPtr) { buttonCmd = _cmd; z_idx = pfodDwgs::reserveIdx(1); // reserve one or more indices for this control } char BlankControl::getCmd() { return buttonCmd; } void BlankControl::draw() { // draw your control here update(); // update with current state } void BlankControl::update() { // update your control here }