Class | CWrp::MainWindow
In: | ../lib/roller/gui.rb
Parent: | FXMainWindow

### Methods

create create_mask increment_progress new reset_progress save_mask

### Classes and Modules

Class CWrp::MainWindow::Canvas

### Constants

WIDTH | = | 800
HEIGHT | = | 600
PROGRESS_LABEL_WIDTH | = | 200

### Attributes

image | [R] |

### Public Class methods

new(app)

`app`: | FXRuby application.
`size`: | Size of image to generate, in pixels (width and height).

### Public Instance methods

create()
create_mask(size)

`size`: | Size of image to generate, in pixels (width and height).

increment_progress()

Moves progress bar along by a single step.

reset_progress(title, total)

Resets progress bar ready for another item.

`title`: | Title for the progress bar.
`total`: | Total value to count to in the progress meter.

save_mask(filename)

[Validate]