5     private ref 
Widget  m_MainWindow;
 
    9     void PluginDrawCheckerboard()
 
   11         CreateWidgetOverlay();
 
   14     void ~PluginDrawCheckerboard() {}
 
   16     void CreateWidgetOverlay()
 
   21             m_MainWindow = 
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/camera_checkerboard.layout");
 
   22             m_MainWindow.Show(
false);
 
   28             Widget child = m_MainWindow.GetChildren();
 
   31                 evenOrOdd = IsEven(childId);
 
   34                 if(childId > (tilesPerLine * row) - 1)
 
   41                     evenOrOdd = !evenOrOdd;
 
   50                 child = child.GetSibling();
 
   75             m_MainWindow.Show(show);