コード例 #1
0
CGUIPropertyIter CGUIElement_Impl::GetPropertiesEnd ( void )
{
	try {
		// Fill the properties list, if it's still empty (on first call)
		if ( m_Properties.empty() )
			FillProperties ();

		// Return the list begin iterator
		return m_Properties.end ();

	} catch ( CEGUI::Exception e ) {
		return *(CGUIPropertyIter*)NULL;
	}
}
コード例 #2
0
ファイル: ContourPropFrame.cpp プロジェクト: adakite/main
//----------------------------------------
bool CContourPropPanel::Create( wxWindow *parent, CGeoMap* geoMap, wxWindowID id,
                const wxPoint &position, const wxSize& size, long style ) 
{

  m_geoMap = geoMap;
  m_plotProperty = m_geoMap->m_plotProperty;

  wxPanel::Create(parent, id, position, size, style);

  // WDR: dialog function ContourProperties for CContourPropFrame
  ContourPropertiesPanel( this, true); 

  InstallEventListeners();
  InstallToolTips();
  FillProperties();

  return true;

}