gui_msgbar.c File Reference

Message logging for textual user interface. More...

#include "stdinc.h"
#include "gui.h"
#include "gui_internal.h"
Include dependency graph for gui_msgbar.c:

Go to the source code of this file.

Functions

void gui_msgbar_init (void)
 Create a bar at the bottom of the terminal displaying messages and questions.
void gui_msgbar_destroy (void)
 Destroy the message bar at the bottom of the screen.
void gui_msgbar_resize (void)
 Set the proper size of the message bar after a terminal resize.
void gui_msgbar_refresh (void)
 Redraw the message bar after its contents have been altered.
void gui_msgbar_flush (void)
 Flush the text in the message bar.
static void gui_msgbar_update (const char *msg, int prio, int cursor)
 Update the text in the message bar.
void gui_msgbar_warn (const char *msg)
 Show a message in the message bar that will be overwritten when another message is show.
void gui_msgbar_ask (const char *msg)
 Show a message in the message bar that will only be overwritten by other messages with this priority. This routine will also unhide the cursor and show it right after the message.

Variables

static int message_prio = 0
 Priority of the current message in the message bar.
static GString * message
 Current message in the message bar.
static WINDOW * win_msgbar
 Window object of the message bar at the bottom of the screen.

Detailed Description

Message logging for textual user interface.

Definition in file gui_msgbar.c.

 All Data Structures Files Functions Variables Defines
Generated on Mon Mar 15 04:45:29 2010 for herrie by  doxygen 1.6.3