NetSurf
desktop
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
27
struct
frame_dimension
{
28
float
value
;
29
enum
{
30
FRAME_DIMENSION_PIXELS
,
/* '100', '200' */
31
FRAME_DIMENSION_PERCENT
,
/* '5%', '20%' */
32
FRAME_DIMENSION_RELATIVE
/* '*', '2*' */
33
}
unit
;
34
};
35
36
/* Handy struct names */
37
struct
content_html_iframe
;
38
struct
content_html_frames
;
39
40
#endif
content_html_frames
Frame tree (frameset or frame tag)
Definition:
html.h:108
content_html_iframe
Inline frame list (iframe tag)
Definition:
html.h:131
frame_dimension
Definition:
frame_types.h:27
frame_dimension::unit
enum frame_dimension::@63 unit
frame_dimension::value
float value
Definition:
frame_types.h:28
frame_dimension::FRAME_DIMENSION_PERCENT
@ FRAME_DIMENSION_PERCENT
Definition:
frame_types.h:31
frame_dimension::FRAME_DIMENSION_PIXELS
@ FRAME_DIMENSION_PIXELS
Definition:
frame_types.h:30
frame_dimension::FRAME_DIMENSION_RELATIVE
@ FRAME_DIMENSION_RELATIVE
Definition:
frame_types.h:32
Generated on Fri Nov 15 2024 15:33:59 for NetSurf by
1.9.4