NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
status.h File Reference

GUI display a user-configurable status line. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void menu_status_line (struct Buffer *buf, struct IndexSharedData *shared, struct Menu *menu, int max_cols, const struct Expando *exp)
 Create the status line.
 

Detailed Description

GUI display a user-configurable status line.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file status.h.

Function Documentation

◆ menu_status_line()

void menu_status_line ( struct Buffer buf,
struct IndexSharedData shared,
struct Menu menu,
int  max_cols,
const struct Expando exp 
)

Create the status line.

Parameters
[out]bufBuffer in which to save string
[in]sharedShared Index data
[in]menuCurrent menu
[in]max_colsMaximum number of columns to use (-1 means unlimited)
[in]expExpando
See also
status_format_str()

Definition at line 496 of file status.c.

498{
499 struct MenuStatusLineData data = { shared, menu };
500
501 expando_filter(exp, StatusRenderData, &data, MUTT_FORMAT_NO_FLAGS, max_cols, buf);
502}
int expando_filter(const struct Expando *exp, const struct ExpandoRenderData *rdata, void *data, MuttFormatFlags flags, int max_cols, struct Buffer *buf)
Render an Expando and run the result through a filter.
Definition: filter.c:138
#define MUTT_FORMAT_NO_FLAGS
No flags are set.
Definition: render.h:33
const struct ExpandoRenderData StatusRenderData[]
Callbacks for Status Expandos.
Definition: status.c:56
Data for creating a Menu line.
Definition: status.c:77
struct IndexSharedData * shared
Data shared between Index, Pager and Sidebar.
Definition: status.c:78
struct Menu * menu
Current Menu.
Definition: status.c:79
+ Here is the call graph for this function:
+ Here is the caller graph for this function: