ELinks 0.18.0
options.c File Reference

Document options/setup workshop. More...

#include <stddef.h>
#include <string.h>
#include "elinks.h"
#include "config/options.h"
#include "dialogs/document.h"
#include "document/options.h"
#include "document/view.h"
#include "session/session.h"
#include "terminal/window.h"
#include "util/color.h"
#include "util/string.h"
#include "viewer/text/draw.h"
Include dependency graph for options.c:

Functions

void init_document_options (struct session *ses, struct document_options *doo)
 
int compare_opt (struct document_options *o1, struct document_options *o2)
 
NONSTATIC_INLINE void copy_opt (struct document_options *o1, struct document_options *o2)
 
void done_document_options (struct document_options *options)
 
void toggle_document_option (struct session *ses, const char *option_name)
 Increments the numeric value of the option identified by option_name, resetting it to the minimum value when it is already at the maximum value, and redraws the document.
 

Detailed Description

Document options/setup workshop.

Function Documentation

◆ compare_opt()

int compare_opt ( struct document_options * o1,
struct document_options * o2 )

◆ copy_opt()

NONSTATIC_INLINE void copy_opt ( struct document_options * o1,
struct document_options * o2 )
related

◆ done_document_options()

void done_document_options ( struct document_options * options)
related

◆ init_document_options()

void init_document_options ( struct session * ses,
struct document_options * doo )
related

◆ toggle_document_option()

void toggle_document_option ( struct session * ses,
const char * option_name )

Increments the numeric value of the option identified by option_name, resetting it to the minimum value when it is already at the maximum value, and redraws the document.