예제 #1
0
 /**
  * Add a "dummy" row.  It does not have a #Window and its height is
  * zero.  This may be used to "reserve" a row index when a row is
  * not present in a certain instance of the form.
  */
 void AddDummy() {
   rows.push_back(Row::Type::DUMMY);
 }
예제 #2
0
 /**
  * Add a #Widget row.  The object will be deleted automatically.
  */
 void Add(Widget *widget) {
   rows.push_back(widget);
 }
예제 #3
0
파일: GridView.hpp 프로젝트: Advi42/XCSoar
 void AddItem(Window &w) {
   items.push_back(&w);
 }