Definition at line 81 of file Menu.h. References HandleLayout(), mItemIdxs, mItemNames, mItemOptions, and mSubMenus. Referenced by AddItem(), and AddMenu(). 00083 { 00084 if (insertAt==-1 || insertAt>mItemNames.size()-1) 00085 insertAt = mItemNames.size(); 00086 00087 mItemNames.insert(mItemNames.begin()+insertAt,str); 00088 mItemIdxs.insert(mItemIdxs.begin()+insertAt,idx); 00089 mSubMenus.insert(mSubMenus.begin()+insertAt,menu); 00090 mItemOptions.insert(mItemOptions.begin()+insertAt,options); 00091 00092 HandleLayout(); 00093 }
Here is the call graph for this function:
|