Pattern Selection Dialog. More...
#include "config.h"
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include "private.h"
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "lib.h"
#include "menu/lib.h"
#include "format_flags.h"
#include "functions.h"
#include "keymap.h"
#include "mutt_logging.h"
#include "muttlib.h"
#include "opcodes.h"
Go to the source code of this file.
Functions | |
static const char * | pattern_format_str (char *buf, size_t buflen, size_t col, int cols, char op, const char *src, const char *prec, const char *if_str, const char *else_str, intptr_t data, MuttFormatFlags flags) |
Format a string for the pattern completion menu - Implements format_t -. More... | |
static void | make_pattern_entry (struct Menu *menu, char *buf, size_t buflen, int num) |
Create a line for the Pattern Completion menu - Implements Menu::make_entry() -. More... | |
static void | free_pattern_menu (struct Menu *menu, void **ptr) |
Free the Pattern Completion menu - Implements Menu::mdata_free() -. More... | |
static struct Menu * | create_pattern_menu (struct MuttWindow *dlg) |
Create the Pattern Completion menu. More... | |
static int | pattern_config_observer (struct NotifyCallback *nc) |
Notification that a Config Variable has changed - Implements observer_t -. More... | |
static int | pattern_window_observer (struct NotifyCallback *nc) |
Notification that a Window has changed - Implements observer_t -. More... | |
bool | dlg_select_pattern (char *buf, size_t buflen) |
Show menu to select a Pattern. More... | |
Variables | |
static const struct Mapping | PatternHelp [] |
Help Bar for the Pattern selection dialog. More... | |
Pattern Selection Dialog.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file dlg_pattern.c.
|
static |
Create the Pattern Completion menu.
dlg | Dialog holding the Menu |
ptr | New Menu |
Definition at line 170 of file dlg_pattern.c.
bool dlg_select_pattern | ( | char * | buf, |
size_t | buflen | ||
) |
Show menu to select a Pattern.
true | A selection was made |
Definition at line 335 of file dlg_pattern.c.