945{
947
951
957
963
964 win_env->
wdata = wdata;
968
969 return win_env;
970}
void mutt_color_observer_add(observer_t callback, void *global_data)
Add an observer.
@ HDR_ATTACH_TITLE
The "-- Attachments" line.
struct EnvelopeWindowData * env_wdata_new(void)
Create new Envelope Data.
static void init_header_padding(void)
Calculate how much padding the compose table will need.
bool OptNewsSend
(pseudo) used to change behavior when posting
static int env_email_observer(struct NotifyCallback *nc)
Notification that the Email has changed - Implements observer_t -.
static int env_color_observer(struct NotifyCallback *nc)
Notification that a Color has changed - Implements observer_t -.
static int env_window_observer(struct NotifyCallback *nc)
Notification that a Window has changed - Implements observer_t -.
static int env_config_observer(struct NotifyCallback *nc)
Notification that a Config Variable has changed - Implements observer_t -.
static int env_header_observer(struct NotifyCallback *nc)
Notification that a User Header has changed - Implements observer_t -.
static int env_recalc(struct MuttWindow *win)
Recalculate the Window data - Implements MuttWindow::recalc() -.
static int env_repaint(struct MuttWindow *win)
Repaint the Window - Implements MuttWindow::repaint() -.
void env_wdata_free(struct MuttWindow *win, void **ptr)
Free the Envelope Data - Implements MuttWindow::wdata_free() -.
bool notify_observer_add(struct Notify *notify, enum NotifyType type, observer_t callback, void *global_data)
Add an observer to an object.
struct MuttWindow * mutt_window_new(enum WindowType type, enum MuttWindowOrientation orient, enum MuttWindowSize size, int cols, int rows)
Create a new Window.
@ WT_CUSTOM
Window with a custom drawing function.
@ MUTT_WIN_ORIENT_VERTICAL
Window uses all available vertical space.
#define MUTT_WIN_SIZE_UNLIMITED
Use as much space as possible.
@ MUTT_WIN_SIZE_FIXED
Window has a fixed size.
@ NT_WINDOW
MuttWindow has changed, NotifyWindow, EventWindow.
@ NT_CONFIG
Config has changed, NotifyConfig, EventConfig.
@ NT_HEADER
A header has changed, NotifyHeader EventHeader.
@ NT_ALL
Register for all notifications.
struct Notify * notify
Notifications: NotifyConfig, EventConfig.
struct Notify * notify
Notifications: NotifyEmail, EventEmail.
Data to fill the Envelope Window.
bool is_news
Email is a news article.
struct Buffer * fcc
Where the outgoing Email will be saved.
struct Email * email
Email being composed.
struct ConfigSubset * sub
Inherited config items.
int(* repaint)(struct MuttWindow *win)
void * wdata
Private data.
struct Notify * notify
Notifications: NotifyWindow, EventWindow.
int(* recalc)(struct MuttWindow *win)
void(* wdata_free)(struct MuttWindow *win, void **ptr)
Container for Accounts, Notifications.
struct Notify * notify
Notifications handler.
struct ConfigSubset * sub
Inherited config items.