xref: /haiku/docs/user/interface/InterfaceDefs.dox (revision 5c6260dc232fcb2d4d5d1103c1623dba9663b753)
1/*
2 * Copyright 2001-2011, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5
6/*!	\file InterfaceDefs.h
7	\brief Defines standard interface definitions for controls.
8*/
9
10/*!	\enum border_style
11	Collection of flags that determine the border style drawn around a BBox.
12*/
13
14/*! \var border_style B_PLAIN_BORDER
15
16	\image html B_PLAIN_BORDER.png
17
18	The right and bottom sides of the box are darker than the top and
19	left sides to produce a shadow effect and make the box look like it
20	is raised slightly above the surrounding surface.
21*/
22
23/*! \var border_style B_FANCY_BORDER
24
25	\image html B_FANCY_BORDER.png
26
27	The border is a bevelled to give it a 3D effect. The border is uniform
28	in appearance on all four sides. This is the default appearance.
29*/
30
31/*! \var border_style B_NO_BORDER
32	No border.
33*/
34
35/*!	\enum orientation
36Orientation flag sets the layout to either horizontal or vertical
37	alignment.
38*/
39
40/*!	\var orientation B_HORIZONTAL
41	Horizontal alignment
42*/
43
44/*! \var orientation B_VERTICAL
45	Vertical alignment
46*/
47
48/*!	\enum button_width
49	Collection of flags that determine how wide to draw the buttons in a
50	BAlert dialog.
51*/
52
53/*!	\var button_width B_WIDTH_AS_USUAL
54	Set the width of each button based on the standard width.
55*/
56
57/*!	\var button_width B_WIDTH_FROM_WIDEST
58	Set the width of each button based on the width of the widest button.
59*/
60
61/*!	\var button_width B_WIDTH_FROM_LABEL
62	Set the width of each button to accomidate the width of the button's
63	label.
64*/
65
66