• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/samples/foldbar/extended/

Lines Matching refs:item

181     wxFoldPanel item = m_pnl->AddFoldPanel(_T("Caption colours"), false);
183 m_pnl->AddFoldPanelWindow(item, new wxStaticText(item.GetParent(), wxID_ANY, _T("Adjust the first colour")),
187 m_rslider1 = new wxSlider(item.GetParent(), wxID_ANY, 0, 0, 255);
188 m_pnl->AddFoldPanelWindow(item, m_rslider1, wxFPB_ALIGN_WIDTH,
192 m_gslider1 = new wxSlider(item.GetParent(), wxID_ANY, 0, 0, 255);
193 m_pnl->AddFoldPanelWindow(item, m_gslider1, wxFPB_ALIGN_WIDTH,
197 m_bslider1 = new wxSlider(item.GetParent(), wxID_ANY, 0, 0, 255);
198 m_pnl->AddFoldPanelWindow(item, m_bslider1, wxFPB_ALIGN_WIDTH,
201 m_pnl->AddFoldPanelSeperator(item);
203 m_pnl->AddFoldPanelWindow(item, new wxStaticText(item.GetParent(), wxID_ANY, _T("Adjust the second colour")),
207 m_rslider2 = new wxSlider(item.GetParent(), wxID_ANY, 0, 0, 255);
208 m_pnl->AddFoldPanelWindow(item, m_rslider2, wxFPB_ALIGN_WIDTH,
212 m_gslider2 = new wxSlider(item.GetParent(), wxID_ANY, 0, 0, 255);
213 m_pnl->AddFoldPanelWindow(item, m_gslider2, wxFPB_ALIGN_WIDTH,
217 m_bslider2 = new wxSlider(item.GetParent(), wxID_ANY, 0, 0, 255);
218 m_pnl->AddFoldPanelWindow(item, m_bslider2, wxFPB_ALIGN_WIDTH,
221 m_pnl->AddFoldPanelSeperator(item);
223 m_btn = new wxButton(item.GetParent(), ID_APPLYTOALL, _T("Apply to all"));
224 m_pnl->AddFoldPanelWindow(item, m_btn);
229 wxCaptionBarStyle style = m_pnl->GetCaptionStyle(item);
243 item = m_pnl->AddFoldPanel(_T("Caption style"), false);
245 wxRadioButton *currStyle = new wxRadioButton(item.GetParent(), ID_USE_VGRADIENT, _T("&Vertical gradient"));
246 m_pnl->AddFoldPanelWindow(item, currStyle, wxFPB_ALIGN_WIDTH, wxFPB_DEFAULT_SPACING, 10);
249 m_pnl->AddFoldPanelWindow(item, new wxRadioButton(item.GetParent(), ID_USE_HGRADIENT, _T("&Horizontal gradient")),
251 m_pnl->AddFoldPanelWindow(item, new wxRadioButton(item.GetParent(), ID_USE_SINGLE, _T("&Single colour")),
253 m_pnl->AddFoldPanelWindow(item, new wxRadioButton(item.GetParent(), ID_USE_RECTANGLE, _T("&Rectangle box")),
255 m_pnl->AddFoldPanelWindow(item, new wxRadioButton(item.GetParent(), ID_USE_FILLED_RECTANGLE, _T("&Filled rectangle box")),
258 m_pnl->AddFoldPanelSeperator(item);
260 m_single = new wxCheckBox(item.GetParent(), wxID_ANY, _T("&Only this caption"));
261 m_pnl->AddFoldPanelWindow(item, m_single, wxFPB_ALIGN_WIDTH, wxFPB_DEFAULT_SPACING, 10);
269 item = m_pnl->AddFoldPanel(_T("Misc stuff"), true, cs);
271 m_pnl->AddFoldPanelWindow(item, new wxButton(item.GetParent(), ID_COLLAPSEME, _T("Collapse All")));
273 m_pnl->AddFoldPanelWindow(item, new wxStaticText(item.GetParent(), wxID_ANY, _T("Enter some comments")),
276 m_pnl->AddFoldPanelWindow(item, new wxTextCtrl(item.GetParent(), wxID_ANY, _T("Comments")),
314 wxFoldPanel item(0);
317 item = m_pnl->Item(i);
318 m_pnl->Collapse(item);
397 wxFoldPanel item = m_pnl->Item(0);
398 m_pnl->ApplyCaptionStyle(item, style);
432 wxFoldPanel item = m_pnl->Item(1);
433 m_pnl->ApplyCaptionStyle(item, style);