#include <c4d_gui.h>
An ID class for dialog gadgets. Can either be initialized with a gadget ID or pointer.
Most of the time it is not needed to create this object manually, but can rely on the temporary generated by the compiler:
Public Member Functions | |
GadgetPtr (Int32 t_id) | |
GadgetPtr (C4DGadget *t_gad) | |
Int32 | Id () const |
C4DGadget * | Ptr () const |
Private Attributes | |
Int32 | _id |
C4DGadget * | gad |
Creates a gadget pointer from a pointer.
[in] | t_gad | The gadget pointer. |
Int32 Id | ( | ) | const |
Gets the ID of the gadget pointer.
C4DGadget* Ptr | ( | ) | const |
Gets the gadget pointer.
|
private |
|
private |