25 #ifndef TBX_SHOWPOINTOBJECT_H 26 #define TBX_SHOWPOINTOBJECT_H 82 void show(
const Object &parent);
84 void show(
const Point &pos);
89 void show_as_menu(
const Object &parent);
90 void show_as_menu(
const Component &parent);
91 void show_as_menu(
const Point &pos);
92 void show_as_menu(
const Point &pos,
const Object &parent);
95 void show_as_submenu(
const MenuItem &parent);
96 void show_as_submenu(
const Point &pos,
const MenuItem &parent);
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:34
ShowPointObject(ObjectId handle)
Construct from a Toolbox object id.
Definition: showpointobject.h:57
Classes to use/edit toolbox resources in memory.
Base class for components in an object.
Definition: component.h:42
Class to represent a position in two dimensional space.
Definition: point.h:36
unsigned int ObjectId
Type for underlying toolbox object id.
Definition: handles.h:31
void show()
Show the object at the default place.
Definition: object.cc:240
ShowPointObject()
Constructor with no reference to a Toolbox object.
Definition: showpointobject.h:51
ShowPointObject(const res::ResObject &object_template)
Create Toolbox object from a memory template and make this object a reference to it.
Definition: showpointobject.h:78
Object that can be shown at a specific position as well as its default place.
Definition: showpointobject.h:42
Base class for a resource object that can be edited.
Definition: resobject.h:52
ShowPointObject(const Object &other)
Construct as reference to another Toolbox object.
Definition: showpointobject.h:63
Class to manipulate a toolbox object.
Definition: object.h:50
ShowPointObject(const std::string &template_name)
Create a Toolbox object and make this object a reference to it.
Definition: showpointobject.h:70