CComponentsForm: add new member genIndex()

This commit is contained in:
2013-06-23 22:20:42 +02:00
parent c66c778326
commit a8721fa72a
3 changed files with 14 additions and 6 deletions

View File

@@ -41,6 +41,8 @@ class CComponentsForm : public CComponentsItem
std::vector<CComponentsItem*> v_cc_items;
void initVarForm();
void paintForm(bool do_save_bg);
///generates next possible index for an item, see also cc_item_index, getIndex(), setIndex()
int genIndex();
int append_h_offset;
int append_v_offset;