2008-04-09 10:07:35 +00:00
|
|
|
/*
|
2009-07-26 11:25:14 +00:00
|
|
|
* Copyright 2007-2009, Haiku, Inc.
|
2008-04-09 10:07:35 +00: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 07:59:16 +00:00
|
|
|
#include <GraphicsDefs.h>
|
2008-04-09 10:07:35 +00:00
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
|
|
|
2009-07-30 16:46:19 +00:00
|
|
|
void _init_global_fonts_();
|
|
|
|
extern "C" status_t _fini_interface_kit_();
|
|
|
|
|
|
|
|
|
2008-04-09 10:07:35 +00:00
|
|
|
namespace BPrivate {
|
|
|
|
|
|
|
|
bool get_mode_parameter(uint32 mode, int32& width, int32& height,
|
|
|
|
uint32& colorSpace);
|
2009-07-26 07:59:16 +00:00
|
|
|
int32 get_bytes_per_row(color_space colorSpace, int32 width);
|
|
|
|
|
2009-07-30 14:13:14 +00:00
|
|
|
void get_workspaces_layout(uint32* _columns, uint32* _rows);
|
|
|
|
void set_workspaces_layout(uint32 columns, uint32 rows);
|
|
|
|
|
2008-04-09 10:07:35 +00:00
|
|
|
} // namespace BPrivate
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _INTERFACE_PRIVATE_H
|