NeoMutt  2025-09-05-55-g97fc89
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
msgwin.h
Go to the documentation of this file.
1
22
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 coloured objects.
Definition color.h:36
struct MuttWindow * msgwin_new(bool interactive)
Create the Message Window.
Definition msgwin.c:370
void msgwin_clear_text(struct MuttWindow *win)
Clear the text in the Message Window.
Definition msgwin.c:518
void msgwin_add_text(struct MuttWindow *win, const char *text, const struct AttrColor *ac_color)
Add text to the Message Window.
Definition msgwin.c:418
struct MuttWindow * msgwin_get_window(void)
Get the Message Window pointer.
Definition msgwin.c:529
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:449
void msgwin_set_text(struct MuttWindow *win, const char *text, enum ColorId color)
Set the text for the Message Window.
Definition msgwin.c:483
const char * msgwin_get_text(struct MuttWindow *win)
Get the text from the Message Window.
Definition msgwin.c:400
void msgwin_set_rows(struct MuttWindow *win, short rows)
Resize the Message Window.
Definition msgwin.c:302
A curses colour and its attributes.
Definition attr.h:66