src/ldtypes.h

changeset 185
6fea53f1ffc2
parent 183
f1b8cb53d2a2
child 188
4e686b771996
equal deleted inserted replaced
184:fae3bc9ce319 185:6fea53f1ffc2
82 // Color used by this object. Comments, gibberish and empty entries 82 // Color used by this object. Comments, gibberish and empty entries
83 // do not use this field. 83 // do not use this field.
84 short dColor; 84 short dColor;
85 85
86 // OpenGL list for this object 86 // OpenGL list for this object
87 uint uGLList, uGLPickList; 87 uint glLists[3];
88 88
89 // Vertices of this object 89 // Vertices of this object
90 vertex vaCoords[4]; 90 vertex vaCoords[4];
91 91
92 // Object this object was referenced from, if any 92 // Object this object was referenced from, if any
138 // Object list entry for this object 138 // Object list entry for this object
139 QListWidgetItem* qObjListEntry; 139 QListWidgetItem* qObjListEntry;
140 140
141 bool hidden () const { return m_hidden; } 141 bool hidden () const { return m_hidden; }
142 void setHidden (const bool hidden) { m_hidden = hidden; } 142 void setHidden (const bool hidden) { m_hidden = hidden; }
143 bool selected () const { return m_selected; }
144 void setSelected (bool selected) { m_selected = selected; }
143 145
144 private: 146 private:
145 bool m_hidden; 147 bool m_hidden;
148 bool m_selected;
146 }; 149 };
147 150
148 // ============================================================================= 151 // =============================================================================
149 // LDGibberish 152 // LDGibberish
150 // 153 //

mercurial