new (CWrp::MainWindow)

    # File ../lib/roller/gui.rb, line 33
        def initialize(app)
          super(app, 'Roller', :opts => DECOR_ALL, :width => WIDTH)

          @current_progress_stage = 0 # Progress counter, for multiple progress items.

          main_packer = FXVerticalFrame.new(self, :opts => LAYOUT_FILL_X|LAYOUT_FILL_Y)

          # Progress bar.
          @progress_packer = FXHorizontalFrame.new(main_packer, :opts => LAYOUT_FILL_X)
          @progress_title = FXLabel.new(@progress_packer, '',
            :opts => LAYOUT_FIX_WIDTH|JUSTIFY_LEFT, :width => PROGRESS_LABEL_WIDTH)
          @progress = FXProgressBar.new(@progress_packer,
            :opts => PROGRESSBAR_NORMAL|PROGRESSBAR_HORIZONTAL|LAYOUT_FILL_X|LAYOUT_FILL_Y)
          @progress.showNumber

          # Canvas to show the image as it is drawn.
    #      scroll_window = FXScrollWindow.new(main_packer,
    #        :opts => LAYOUT_FILL_X|LAYOUT_FILL_Y|HSCROLLER_ALWAYS|VSCROLLER_ALWAYS)
    #      scroll_packer = FXPacker.new(scroll_window,
    #        :opts => LAYOUT_FILL_X|LAYOUT_FILL_Y)

    #      @canvas = Canvas.new(scroll_packer, size, @image)
        end