The Pattern Selection Dialog lets the user select a pattern.
This is a Simple Dialog
| Name | Type | See Also |
|---|---|---|
| Pattern Selection Dialog | WT_DLG_PATTERN | dlg_pattern() |
Parent
Children
The Simple Dialog holds a Menu. The Pattern Selection Dialog stores its data (PatternEntry) in Menu::mdata.
Once constructed, it is controlled by the following events:
| Event Type | Handler |
|---|---|
| NT_CONFIG | pattern_config_observer() |
| NT_WINDOW | pattern_window_observer() |
The Pattern Selection Dialog doesn't have any specific colours, so it doesn't need to support NT_COLOR.
The Pattern Selection Dialog does not implement MuttWindow::recalc() or MuttWindow::repaint().
Some other events are handled by the Simple Dialog.
| Function | Description | Links |
|---|---|---|
| create_pattern_entries() | Create the Pattern Entries | |
| dlg_pattern() | Show menu to select a Pattern | gui_dlg |
| pattern_config_observer() | Notification that a Config Variable has changed | observer_t, observer_api |
| pattern_make_entry() | Create a Pattern for the Menu | Menu::make_entry(), menu_make_entry |
| pattern_window_observer() | Notification that a Window has changed | observer_t, observer_api |