37 #include "mouseclicklistener.h"
38 #include "eventinfo.h"
54 enum {TOOLBOX_CLASS = 960};
149 void flags(
int clear,
int eor);
299 CLICK_SELECTS_DOUBLE,
302 CLICK_SELECTS_DOUBLE_DRAG,
305 CLICK_NOTIFY_AND_SELECTS_DRAG,
331 int esg()
const {
return (
flags() & 0x1F0000) >> 16;}
423 void font(
const std::string &name,
int width,
int height);
std::string string_property(int property_id) const
Get a string property from the toolbox object.
Definition: component.cc:261
Listener for mouse clicks on a Window.
Definition: mouseclicklistener.h:130
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:35
ObjectId handle() const
Return the object handle for his component.
Definition: component.h:95
Class to represent a standard desktop WIMP colour.
Definition: colour.h:147
The Window object represents a toolbox window.
Definition: window.h:70
int int_property(int property_id) const
Get an integer property from the toolbox Component.
Definition: component.cc:165
Base class for components in an object.
Definition: component.h:42
ObjectId _handle
Underlying toolbox handle.
Definition: component.h:45
ComponentId id() const
Get the component ID of this component.
Definition: component.h:103
int _id
Underlying toolbox component id.
Definition: component.h:46
int string_property_length(int property_id) const
Get a the length of a string property from the toolbox object.
Definition: component.cc:302
This is the base class for all Gadgets.
Definition: gadget.h:49
void check_toolbox_class(int class_id) const
Check the underlying gadget class for this object has the given class id.
Definition: gadget.cc:47