#include <ilviews/base/iostream.h>
#include <ilviews/base/graphic.h>
#include <ilviews/gadgets/itemtool.h>
#include <ilviews/base/value.h>
#include <ilviews/base/alloc.h>
#include <ilviews/util/animator.h>
#include <ilviews/bidi/interf.h>
[library ilvgadgt ilviews/gadgets/itemgdt.h] Declaration of the IlvGadgetItem and related classes
#define DeclareGadgetItemInfo |
( |
| ) |
|
#define DeclareGadgetItemInfoRO |
( |
| ) |
|
Use this macro to declare the input/output routines of your gadget item subclass when you do not need to add the write
member function (that is, your gadget item subtype do not add any new data that needs to be saved, and the implementation of the write
member function in the parent class already does the job).
- See Also
DeclareGadgetItemInfo
, DeclareGadgetItemIOConstructors
.
#define DeclareGadgetItemIOConstructors |
( |
|
classname | ) |
|
#define IlvPredefinedGadgetItemIOMembers |
( |
|
classname | ) |
|
#define IlvRegisterGadgetItemClass |
( |
|
classname, |
|
|
|
superclass |
|
) |
| |
Use this macro to register your subclass of IlvGadgetItem.
- Parameters
-
classname | The name of the class being registered. |
superclass | The superclass of classname . |
Defines the type of the function used by the sorting algorithm of the IlvListGadgetItemHolder to compare two items.
- Parameters
-
string1 | The label of the first item. |
string2 | The label of the second item. |
value1 | The client data of the first item. |
value2 | The client data of the second item. |
- See Also
- IlvListGadgetItemHolder::sort
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.