xref: /haiku/headers/private/interface/InterfacePrivate.h (revision d25503d3dbd8e3f526fd0a9bdd884b8e43c1b794)
1 /*
2  * Copyright 2007-2009, Haiku, Inc.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Stefano Ceccherini <stefano.ceccherini@gmail.com>
7  */
8 #ifndef _INTERFACE_PRIVATE_H
9 #define _INTERFACE_PRIVATE_H
10 
11 
12 #include <GraphicsDefs.h>
13 #include <SupportDefs.h>
14 
15 
16 void _init_global_fonts_();
17 extern "C" status_t _fini_interface_kit_();
18 
19 
20 namespace BPrivate {
21 
22 bool		get_mode_parameter(uint32 mode, int32& width, int32& height,
23 				uint32& colorSpace);
24 int32		get_bytes_per_row(color_space colorSpace, int32 width);
25 
26 void		get_workspaces_layout(uint32* _columns, uint32* _rows);
27 void		set_workspaces_layout(uint32 columns, uint32 rows);
28 
29 }	// namespace BPrivate
30 
31 
32 #endif	// _INTERFACE_PRIVATE_H
33