2008-04-09 14:07:35 +04:00
|
|
|
/*
|
2009-07-26 15:25:14 +04:00
|
|
|
* Copyright 2007-2009, Haiku, Inc.
|
2008-04-09 14:07:35 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Stefano Ceccherini <stefano.ceccherini@gmail.com>
|
|
|
|
*/
|
|
|
|
#ifndef _INTERFACE_PRIVATE_H
|
|
|
|
#define _INTERFACE_PRIVATE_H
|
|
|
|
|
|
|
|
|
2009-07-26 11:59:16 +04:00
|
|
|
#include <GraphicsDefs.h>
|
2008-04-09 14:07:35 +04:00
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
|
|
|
2009-07-30 20:46:19 +04:00
|
|
|
void _init_global_fonts_();
|
|
|
|
extern "C" status_t _fini_interface_kit_();
|
|
|
|
|
|
|
|
|
2008-04-09 14:07:35 +04:00
|
|
|
namespace BPrivate {
|
|
|
|
|
|
|
|
bool get_mode_parameter(uint32 mode, int32& width, int32& height,
|
|
|
|
uint32& colorSpace);
|
2009-07-26 11:59:16 +04:00
|
|
|
int32 get_bytes_per_row(color_space colorSpace, int32 width);
|
|
|
|
|
2009-07-30 18:13:14 +04:00
|
|
|
void get_workspaces_layout(uint32* _columns, uint32* _rows);
|
|
|
|
void set_workspaces_layout(uint32 columns, uint32 rows);
|
|
|
|
|
2008-04-09 14:07:35 +04:00
|
|
|
} // namespace BPrivate
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _INTERFACE_PRIVATE_H
|