Prototype for a Preview Function.
More...
Prototype for a Preview Function.
- Parameters
-
wdata | Preview Window data |
op | Operation to perform, e.g. OP_NEXT_PAGE |
- Return values
-
◆ preview_page_up()
Show the previous page of the message - Implements preview_function_t -.
Definition at line 367 of file preview.c.
368{
371
374
376}
@ FR_SUCCESS
Valid function - successfully performed.
@ FR_NO_ACTION
Valid function - no action performed.
static void draw_preview(struct MuttWindow *win, struct PreviewWindowData *wdata)
Write the message preview to the compose window.
struct WindowState state
Current state of the Window.
struct MuttWindow * win
Window holding the message preview.
int scroll_offset
Scroll offset.
short rows
Number of rows, can be MUTT_WIN_SIZE_UNLIMITED.
◆ preview_page_down()
Show the previous page of the message - Implements preview_function_t -.
Definition at line 381 of file preview.c.
382{
385
388
390}
bool more_content
Is there more content to scroll down to?