src/window.h
branchcpp_gui
changeset 6284 45d0233e7d79
parent 6283 7072ee68c676
child 6285 187e3ef04cc9
equal deleted inserted replaced
6283:7072ee68c676 6284:45d0233e7d79
   419 
   419 
   420 	ZeroInitEnd m_zero_init_end; ///< end of zero initialization area
   420 	ZeroInitEnd m_zero_init_end; ///< end of zero initialization area
   421 
   421 
   422 protected:
   422 protected:
   423 	BaseWindow(WindowClass cls, StringID caption_text = 0, byte color = COLOUR_GREY, gui::FeatureFlags feature_flags = gui::FF_NONE)
   423 	BaseWindow(WindowClass cls, StringID caption_text = 0, byte color = COLOUR_GREY, gui::FeatureFlags feature_flags = gui::FF_NONE)
   424 		: m_zero_init_area(m_zero_init_end)
   424 		: CompositeWidget(NULL, 0, feature_flags, color, Rect16(), 0)
   425 		, CompositeWidget(NULL, 0, feature_flags, color, Rect16(), 0)
   425 		, m_zero_init_area(m_zero_init_end)
   426 		, window_class(cls)
   426 		, window_class(cls)
   427 		, m_caption_text(caption_text)
   427 		, m_caption_text(caption_text)
   428 	{}
   428 	{}
   429 
   429 
   430 public:
   430 public: