|
static int | imap_is_prefix (const char *folder, const char *mbox) |
| Check if folder matches the beginning of mbox.
|
|
static const char * | abbrev_folder (const char *mbox, const char *folder, enum MailboxType type) |
| Abbreviate a Mailbox path using a folder.
|
|
static const char * | abbrev_url (const char *mbox, enum MailboxType type) |
| Abbreviate a url-style Mailbox path.
|
|
static size_t | add_indent (char *buf, size_t buflen, const struct SbEntry *sbe) |
| Generate the needed indentation.
|
|
static const struct AttrColor * | calc_color (const struct Mailbox *m, bool current, bool highlight) |
| Calculate the colour of a Sidebar row.
|
|
static int | calc_path_depth (const char *mbox, const char *delims, const char **last_part) |
| Calculate the depth of a Mailbox path.
|
|
void | sidebar_bang (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
| Sidebar: Flagged flags - Implements ExpandoRenderData::get_string() -.
|
|
long | sidebar_a_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
| Sidebar: Alert for new mail - Implements ExpandoRenderData::get_number() -.
|
|
void | sidebar_B (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
| Sidebar: Name of the mailbox - Implements ExpandoRenderData::get_string() -.
|
|
long | sidebar_d_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
| Sidebar: Number of deleted messages - Implements ExpandoRenderData::get_number() -.
|
|
void | sidebar_D (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
| Sidebar: Descriptive name - Implements ExpandoRenderData::get_string() -.
|
|
long | sidebar_F_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
| Sidebar: Number of flagged messages - Implements ExpandoRenderData::get_number() -.
|
|
long | sidebar_L_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
| Sidebar: Number of limited messages - Implements ExpandoRenderData::get_number() -.
|
|
long | sidebar_n_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
| Sidebar: New mail flag - Implements ExpandoRenderData::get_number() -.
|
|
void | sidebar_n (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
| Sidebar: New mail flag - Implements ExpandoRenderData::get_string() -.
|
|
long | sidebar_N_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
| Sidebar: Number of unread messages - Implements ExpandoRenderData::get_number() -.
|
|
long | sidebar_o_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
| Sidebar: Number of old messages - Implements ExpandoRenderData::get_number() -.
|
|
long | sidebar_p_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
| Sidebar: Poll for new mail - Implements ExpandoRenderData::get_number() -.
|
|
long | sidebar_r_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
| Sidebar: Number of read messages - Implements ExpandoRenderData::get_number() -.
|
|
long | sidebar_S_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
| Sidebar: number of messages - Implements ExpandoRenderData::get_number() -.
|
|
long | sidebar_t_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
| Sidebar: Number of tagged messages - Implements ExpandoRenderData::get_number() -.
|
|
long | sidebar_Z_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
| Sidebar: Number of new messages - Implements ExpandoRenderData::get_number() -.
|
|
static void | make_sidebar_entry (char *buf, size_t buflen, int width, struct SbEntry *sbe, struct IndexSharedData *shared) |
| Turn mailbox data into a sidebar string.
|
|
static void | update_entries_visibility (struct SidebarWindowData *wdata) |
| Should a SbEntry be displayed in the sidebar?
|
|
static bool | prepare_sidebar (struct SidebarWindowData *wdata, int page_size) |
| Prepare the list of SbEntry's for the sidebar display.
|
|
int | sb_recalc (struct MuttWindow *win) |
| Recalculate the Sidebar display - Implements MuttWindow::recalc() -.
|
|
static int | draw_divider (struct SidebarWindowData *wdata, struct MuttWindow *win, int num_rows, int num_cols) |
| Draw a line between the sidebar and the rest of neomutt.
|
|
static void | fill_empty_space (struct MuttWindow *win, int first_row, int num_rows, int div_width, int num_cols) |
| Wipe the remaining Sidebar space.
|
|
int | sb_repaint (struct MuttWindow *win) |
| Repaint the Sidebar display - Implements MuttWindow::repaint() -.
|
|
Sidebar Window.
- Authors
- Kevin J. McCarthy
- R Primus
- Pietro Cerutti
- Richard Russon
- Ashish Panigrahi
- Tóth János
- Copyright
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
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 window.c.