NeoMutt  2024-04-25-89-g194907
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
msgwin.h
Go to the documentation of this file.
1
23#ifndef MUTT_GUI_MSGWIN_H
24#define MUTT_GUI_MSGWIN_H
25
26#include <stdbool.h>
27#include "color/lib.h"
28
29struct MuttWindow;
30
31void msgwin_clear_text(struct MuttWindow *win);
32struct MuttWindow *msgwin_new (bool interactive);
33void msgwin_add_text (struct MuttWindow *win, const char *text, const struct AttrColor *ac_color);
34void msgwin_add_text_n(struct MuttWindow *win, const char *text, int bytes, const struct AttrColor *ac_color);
35const char * msgwin_get_text (struct MuttWindow *win);
36struct MuttWindow *msgwin_get_window(void);
37void msgwin_set_rows (struct MuttWindow *win, short rows);
38void msgwin_set_text (struct MuttWindow *win, const char *text, enum ColorId color);
39
40#endif /* MUTT_GUI_MSGWIN_H */
Color and attribute parsing.
ColorId
List of all colored objects.
Definition: color.h:40
struct MuttWindow * msgwin_new(bool interactive)
Create the Message Window.
Definition: msgwin.c:371
void msgwin_clear_text(struct MuttWindow *win)
Clear the text in the Message Window.
Definition: msgwin.c:519
void msgwin_add_text(struct MuttWindow *win, const char *text, const struct AttrColor *ac_color)
Add text to the Message Window.
Definition: msgwin.c:419
struct MuttWindow * msgwin_get_window(void)
Get the Message Window pointer.
Definition: msgwin.c:530
void msgwin_add_text_n(struct MuttWindow *win, const char *text, int bytes, const struct AttrColor *ac_color)
Add some text to the Message Window.
Definition: msgwin.c:450
void msgwin_set_text(struct MuttWindow *win, const char *text, enum ColorId color)
Set the text for the Message Window.
Definition: msgwin.c:484
const char * msgwin_get_text(struct MuttWindow *win)
Get the text from the Message Window.
Definition: msgwin.c:401
void msgwin_set_rows(struct MuttWindow *win, short rows)
Resize the Message Window.
Definition: msgwin.c:303
A curses colour and its attributes.
Definition: attr.h:66