NeoMutt  2025-09-05-55-g97fc89
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
private_data.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_PAGER_PRIVATE_DATA_H
24#define MUTT_PAGER_PRIVATE_DATA_H
25
26#include "config.h"
27#include <regex.h>
28#include <stdbool.h>
29#include <stdint.h>
30#include <stdio.h>
31#include <sys/stat.h>
32#include "lib.h"
33#include "color/lib.h"
34
35struct MuttWindow;
36
81
82void pager_private_data_free(struct MuttWindow *win, void **ptr);
84
85#endif /* MUTT_PAGER_PRIVATE_DATA_H */
Color and attribute parsing.
GUI display a file/email/help in a viewport with paging.
PagerLoopMode
What the Pager Event Loop should do next.
Definition lib.h:149
uint16_t PagerFlags
Flags for dlg_pager(), e.g. MUTT_SHOWFLAT.
Definition lib.h:59
uint8_t PagerRedrawFlags
Flags, e.g. PAGER_REDRAW_PAGER.
Definition lib.h:187
struct PagerPrivateData * pager_private_data_new(void)
Create new Pager Data.
void pager_private_data_free(struct MuttWindow *win, void **ptr)
Free Pager Data.
A line of text in the pager.
Definition display.h:50
Notification API.
Definition notify.c:53
Private state data for the Pager.
PagerFlags hide_quoted
Set to MUTT_HIDE when quoted email is hidden <toggle-quoted>
int rc
Return code from functions.
int q_level
Number of unique quoting levels.
int cur_line
Current line (last line visible on screen)
bool wrapped
Has the search/next wrapped around?
bool pager_redraw
Force a complete redraw.
int lines_used
Size of lines array (used entries)
char search_str[256]
Current search string.
int lines_max
Capacity of lines array (total entries)
uint64_t delay_read_timestamp
Time that email was first shown.
bool force_redraw
Repaint is needed.
enum PagerLoopMode loop
What the Event Loop should do next, e.g. PAGER_LOOP_CONTINUE.
struct Line * lines
Array of text lines in pager.
PagerRedrawFlags redraw
When to redraw the screen.
int has_types
Set to MUTT_TYPES for PAGER_MODE_EMAIL or MUTT_SHOWCOLOR.
struct Notify * notify
Notifications: NotifyPager, PagerPrivateData.
LOFF_T bytes_read
Number of bytes read from file.
int top_line
First visible line on screen.
struct stat st
Stats about Email file.
bool first
First time flag for toggle-new.
bool search_back
Search backwards.
struct QuoteStyle * quote_list
Tree of quoting levels.
struct PagerView * pview
Object to view in the pager.
struct AttrColorList ansi_list
List of ANSI colours used in the Pager.
int searchctx
Space to show around search matches.
regex_t search_re
Compiled search string.
int win_height
Number of lines in the Window.
int old_top_line
Old top line, used for repainting.
FILE * fp
File containing decrypted/decoded/weeded Email.
PagerFlags search_flag
Set to MUTT_SEARCH when search results are visible <search-toggle>
bool search_compiled
Search regex is in use.
Paged view into some data.
Definition lib.h:170
Style of quoted text.
Definition qstyle.h:56