ELinks 0.18.0
frames.c File Reference
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "elinks.h"
#include "cache/cache.h"
#include "document/document.h"
#include "document/html/frames.h"
#include "document/options.h"
#include "document/renderer.h"
#include "document/view.h"
#include "protocol/uri.h"
#include "session/session.h"
#include "terminal/draw.h"
#include "util/color.h"
#include "util/string.h"
#include "util/time.h"
Include dependency graph for frames.c:

Functions

void add_frameset_entry (struct frameset_desc *frameset_desc, struct frameset_desc *subframe, char *name, char *url)
 
struct frameset_desccreate_frameset (struct frameset_param *fp)
 
static void add_frame_to_list (struct session *ses, struct document_view *doc_view)
 
static struct document_viewfind_fd (struct session *ses, char *name, int depth, int x, int y)
 
static struct document_viewformat_frame (struct session *ses, struct frame_desc *frame_desc, struct document_options *o, int depth)
 
void format_frames (struct session *ses, struct frameset_desc *fsd, struct document_options *op, int depth)
 
static int distribute_rows_or_cols (int *val_, int max_value, int *values, int values_count)
 
static int distribute_rows_or_cols_that_left (int *val_, int max_value, int *values, int values_count)
 
static int extract_rows_or_cols_values (char *str, int max_value, int pixels_per_char, int **new_values, int *new_values_count)
 
void parse_frame_widths (char *str, int max_value, int pixels_per_char, int **new_values, int *new_values_count)
 

Function Documentation

◆ add_frame_to_list()

static void add_frame_to_list ( struct session * ses,
struct document_view * doc_view )
static

◆ add_frameset_entry()

void add_frameset_entry ( struct frameset_desc * frameset_desc,
struct frameset_desc * subframe,
char * name,
char * url )

◆ create_frameset()

struct frameset_desc * create_frameset ( struct frameset_param * fp)

◆ distribute_rows_or_cols()

static int distribute_rows_or_cols ( int * val_,
int max_value,
int * values,
int values_count )
static

◆ distribute_rows_or_cols_that_left()

static int distribute_rows_or_cols_that_left ( int * val_,
int max_value,
int * values,
int values_count )
static

◆ extract_rows_or_cols_values()

static int extract_rows_or_cols_values ( char * str,
int max_value,
int pixels_per_char,
int ** new_values,
int * new_values_count )
static

◆ find_fd()

static struct document_view * find_fd ( struct session * ses,
char * name,
int depth,
int x,
int y )
static

◆ format_frame()

static struct document_view * format_frame ( struct session * ses,
struct frame_desc * frame_desc,
struct document_options * o,
int depth )
static

◆ format_frames()

void format_frames ( struct session * ses,
struct frameset_desc * fsd,
struct document_options * op,
int depth )

◆ parse_frame_widths()

void parse_frame_widths ( char * str,
int max_value,
int pixels_per_char,
int ** new_values,
int * new_values_count )