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 366 of file preview.c.
367{
370
373
375}
@ 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 380 of file preview.c.
381{
384
387
389}
bool more_content
Is there more content to scroll down to?