Definition at line 91 of file StringColumns.h. References ComputeDocHeight(), and mColumns. Referenced by OglGui::StringListBox::AddString(). 00093 { 00094 if (colIdx<0 || colIdx>mColumns.size()-1) 00095 return; 00096 00097 StrVector& strVector = mColumns[colIdx].strVector; 00098 StrOptions& strOptions = mColumns[colIdx].strOptions; 00099 StrColors& strColors = mColumns[colIdx].strColors; 00100 00101 if (insertAt<-1) insertAt = 0; 00102 if (insertAt==-1 || insertAt>strVector.size()-1) 00103 insertAt = strVector.size(); 00104 00105 strVector.insert(strVector.begin()+insertAt,str); 00106 strOptions.insert(strOptions.begin()+insertAt,opts); 00107 strColors.insert(strColors.begin()+insertAt,col); 00108 ComputeDocHeight(); 00109 }
Here is the call graph for this function:
|