19#ifndef ZXWIDGET_CANVAS
20#define ZXWIDGET_CANVAS
56 const std::string & tooltiptext =
"",
86 { viewportshiftcallback_ = newcbk; }
120 {
return((cbp.moment ==
'A') &&
121 (cbp.whoprocessed !=
nullptr) &&
122 (cbp.whoprocessed == canvas_)); }
132 const char *
className(
void)
const noexcept {
return(
"CanvasWidget"); }
149 static const ID kIDsSubs[NUMSUBWIDGETS];
152 const bool movekeys_;
160 double oldvalh_,oldvalv_;
162 std::string scrollStatesInfo(
void)
const;
164 bool & vscr,
bool & hscr)
const;
166 int processEvent(
const EventData & evdata,
Widget * who)
override;
uint16_t CharDist
A distance meadured in screen chars.
Status of the pointing device.
The class that provides the main support for managing the ZX screen.
The main namespace of the library, that spans across all the zx modules.