Help Bar. More...
#include "config.h"#include <stdbool.h>#include "private.h"#include "mutt/lib.h"#include "config/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "lib.h"#include "color/lib.h"#include "key/lib.h"#include "menu/lib.h"
Include dependency graph for helpbar.c:Go to the source code of this file.
Functions | |
| static bool | make_help (enum MenuType menu, int op, const char *txt, struct Buffer *buf) |
| Create one entry for the Help Bar. | |
| static void | compile_help (enum MenuType menu, const struct Mapping *items, struct Buffer *buf) |
| Create the text for the help menu. | |
| static int | helpbar_recalc (struct MuttWindow *win) |
| Recalculate the display of the Help Bar - Implements MuttWindow::recalc() -. | |
| static int | helpbar_repaint (struct MuttWindow *win) |
| Redraw the Help Bar - Implements MuttWindow::repaint() -. | |
| static int | helpbar_binding_observer (struct NotifyCallback *nc) |
| Notification that a Key Binding has changed - Implements observer_t -. | |
| static int | helpbar_color_observer (struct NotifyCallback *nc) |
| Notification that a Color has changed - Implements observer_t -. | |
| static int | helpbar_config_observer (struct NotifyCallback *nc) |
| Notification that a Config Variable has changed - Implements observer_t -. | |
| static int | helpbar_window_observer (struct NotifyCallback *nc) |
| Notification that a Window has changed - Implements observer_t -. | |
| struct MuttWindow * | helpbar_new (void) |
| Create the Help Bar Window. | |
Help Bar.
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 helpbar.c.
Create one entry for the Help Bar.
| [in] | menu | Current Menu, e.g. MENU_PAGER |
| [in] | op | Operation, e.g. OP_DELETE |
| [in] | txt | Text part, e.g. "delete" |
| [out] | buf | Buffer for the result |
| true | Keybinding exists |
This will return something like: "d:delete"
Definition at line 89 of file helpbar.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Create the text for the help menu.
| [in] | menu | Current Menu, e.g. MENU_PAGER |
| [in] | items | Map of functions to display in the Help Bar |
| [out] | buf | Buffer for the result |
Definition at line 108 of file helpbar.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct MuttWindow * helpbar_new | ( | void | ) |
Create the Help Bar Window.
| ptr | New Window |
Definition at line 317 of file helpbar.c.
Here is the call graph for this function:
Here is the caller graph for this function: