File: css_margins.h

package info (click to toggle)
litehtml 0.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,288 kB
  • sloc: ansic: 30,263; cpp: 15,397; makefile: 8
file content (39 lines) | stat: -rw-r--r-- 551 bytes parent folder | download | duplicates (6)
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
#ifndef LH_CSS_MARGINS_H
#define LH_CSS_MARGINS_H

#include "css_length.h"

namespace litehtml
{
	struct css_margins
	{
		css_length	left;
		css_length	right;
		css_length	top;
		css_length	bottom;

		css_margins()
		{

		}

		css_margins(const css_margins& val)
		{
			left	= val.left;
			right	= val.right;
			top		= val.top;
			bottom	= val.bottom;
		}

		css_margins& operator=(const css_margins& val)
		{
			left	= val.left;
			right	= val.right;
			top		= val.top;
			bottom	= val.bottom;
			return *this;
		}
	};
}

#endif  // LH_CSS_MARGINS_H