src/ldtypes.h

changeset 607
353e418f161a
parent 606
3dd6f343ec06
child 609
a8dc74a809c6
equal deleted inserted replaced
606:3dd6f343ec06 607:353e418f161a
65 // which is a token of the object's type. The object can be casted into 65 // which is a token of the object's type. The object can be casted into
66 // sub-classes based on this enumerator. 66 // sub-classes based on this enumerator.
67 // ============================================================================= 67 // =============================================================================
68 class LDObject 68 class LDObject
69 { 69 {
70 PROPERTY (public, bool, Hidden, BOOL_OPS, STOCK_WRITE) 70 PROPERTY (public, bool, Hidden, BOOL_OPS, STOCK_WRITE)
71 PROPERTY (public, bool, Selected, BOOL_OPS, STOCK_WRITE) 71 PROPERTY (public, bool, Selected, BOOL_OPS, STOCK_WRITE)
72 PROPERTY (public, LDObject*, Parent, NO_OPS, STOCK_WRITE) 72 PROPERTY (public, LDObject*, Parent, NO_OPS, STOCK_WRITE)
73 PROPERTY (public, LDDocument*, File, NO_OPS, STOCK_WRITE) // TODO: rename~ 73 PROPERTY (public, LDDocument*, File, NO_OPS, STOCK_WRITE) // TODO: rename~
74 PROPERTY (private, int, ID, NUM_OPS, STOCK_WRITE) 74 PROPERTY (private, int, ID, NUM_OPS, STOCK_WRITE)
75 PROPERTY (public, int, Color, NUM_OPS, CUSTOM_WRITE) 75 PROPERTY (public, int, Color, NUM_OPS, CUSTOM_WRITE)
76 PROPERTY (public, bool, GLInit, BOOL_OPS, STOCK_WRITE) 76 PROPERTY (public, bool, GLInit, BOOL_OPS, STOCK_WRITE)
77 77
78 public: 78 public:
79 // Object type codes. Codes are sorted in order of significance. 79 // Object type codes. Codes are sorted in order of significance.
80 enum Type 80 enum Type
81 { 81 {

mercurial