NetSurf
frame_types.h
Go to the documentation of this file.
1/*
2 * Copyright 2011 Michael Drake <tlsa@netsurf-browser.org>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19/**
20 * \file
21 * Interface to browser frames.
22 */
23
24#ifndef _NETSURF_DESKTOP_FRAME_TYPES_H_
25#define _NETSURF_DESKTOP_FRAME_TYPES_H_
26
28 float value;
29 enum {
30 FRAME_DIMENSION_PIXELS, /* '100', '200' */
31 FRAME_DIMENSION_PERCENT, /* '5%', '20%' */
32 FRAME_DIMENSION_RELATIVE /* '*', '2*' */
34};
35
36/* Handy struct names */
39
40#endif
Frame tree (frameset or frame tag)
Definition: html.h:108
Inline frame list (iframe tag)
Definition: html.h:131
enum frame_dimension::@63 unit
@ FRAME_DIMENSION_RELATIVE
Definition: frame_types.h:32