Prototype for a Preview Function.
More...
Prototype for a Preview Function.
- Parameters
-
| wdata | Preview Window data |
| event | Event to process |
- Return values
-
- Precondition
- wdata is not NULL
-
event is not NULL
◆ preview_page_up()
Show the previous page of the message - Implements preview_function_t -.
Definition at line 373 of file preview.c.
374{
377
380
382}
@ FR_SUCCESS
Valid function - successfully performed.
@ FR_NO_ACTION
Valid function - no action performed.
#define MAX(a, b)
Return the maximum of two values.
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 387 of file preview.c.
388{
391
394
396}
bool more_content
Is there more content to scroll down to?