;+
;create
;+
PRO sesMatch::Create
	COMPILE_OPT IDL2
	oSystem = self.oSystem
	Device, Get_Screen_Size = screenSize
	xOff = (oSystem.baseSize)[0]/2
	yOff = screenSize[1]-(oSystem.baseSize)[1]-20

	self->ReadBmp

	self.matContainer = Obj_New('IDL_Container')

	cBase = Widget_Base(Group_Leader = self.mainBase		, $
		                UName      = 'oCartoon' 	        , $
		                UValue	   = self					, $
		                Title      = 'Cartoon'		        , $
		                Space      = 2          			, $
		                XOffSet    = xOff					, $
		                YOffSet    = yOff					, $
		                /Modal                              , $
		                /ToolBar 							, $
		                /Column		               			, $
		                /Floating               			, $
		                /Tlb_Kill_Request_Events 			)

	self.cBase = cBase
END
;+
;clean up
;+
PRO sesMatch::CleanUp
	COMPILE_OPT IDL2
	Obj_Destroy , self.matContainer

END
;+
;initialize
;+
FUNCTION sesMatch::Init  , oSystem = oSystem

	COMPILE_OPT IDL2
	self.oSystem = oSystem
	self.mainBase = oSystem.mBase
	self->Create

	Return,1
END
;+
;sesMatch class name
;+
PRO sesMatch__Define
	COMPILE_OPT IDL2
	void = { sesMatch                             , $
	         ;system parameter
	         mainBase           :    0L           , $
	         cBase              :    0L           , $
			 ;system objct

			 matContainer       :    Obj_New()    , $
	         oSystem            :    Obj_New()      $

	        }
END