blob: 8e960e9d850f5c78cf6a44e06feb5f607568550c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/*
* This file is part of LibCSS
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2009 John-Mark Bell <jmb@netsurf-browser.org>
*/
#ifndef libcss_hint_h_
#define libcss_hint_h_
#include <libwapcaplet/libwapcaplet.h>
#include <libcss/errors.h>
#include <libcss/functypes.h>
#include <libcss/types.h>
/**
* Length object for use in presentational hints
*/
typedef struct css_hint_length {
css_fixed value;
css_unit unit;
} css_hint_length;
/**
* Presentational hints
*/
typedef struct css_hint {
uint8_t status;
css_colour color;
int32_t integer;
css_hint_length length1;
css_hint_length length2;
lwc_string *string;
/** \todo Support clip/content/counter-{increment,reset}? */
} css_hint;
#endif
|