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 16void _init_global_fonts_(); 17extern "C" status_t _fini_interface_kit_(); 18 19 20namespace BPrivate { 21 22bool get_mode_parameter(uint32 mode, int32& width, int32& height, 23 uint32& colorSpace); 24int32 get_bytes_per_row(color_space colorSpace, int32 width); 25 26void get_workspaces_layout(uint32* _columns, uint32* _rows); 27void set_workspaces_layout(uint32 columns, uint32 rows); 28 29bool get_control_look(BString& path); 30status_t set_control_look(const BString& path); 31 32} // namespace BPrivate 33 34 35#endif // _INTERFACE_PRIVATE_H 36