haiku/headers/private/interface/InterfacePrivate.h
François Revol 629397f222 Add basic support for loading ControlLook add-ons
app_server just passes the add-on path around.

Maybe we should make sure the add-on can be loaded when setting it.

Change-Id: I3acd3299782a22c1666bd5435dbf3d8053e359fa
Reviewed-on: https://review.haiku-os.org/c/1430
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-05-13 22:15:30 +00:00

36 lines
794 B
C++

/*
* Copyright 2007-2009, Haiku, Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
* Stefano Ceccherini <stefano.ceccherini@gmail.com>
*/
#ifndef _INTERFACE_PRIVATE_H
#define _INTERFACE_PRIVATE_H
#include <GraphicsDefs.h>
#include <SupportDefs.h>
void _init_global_fonts_();
extern "C" status_t _fini_interface_kit_();
namespace BPrivate {
bool get_mode_parameter(uint32 mode, int32& width, int32& height,
uint32& colorSpace);
int32 get_bytes_per_row(color_space colorSpace, int32 width);
void get_workspaces_layout(uint32* _columns, uint32* _rows);
void set_workspaces_layout(uint32 columns, uint32 rows);
bool get_control_look(BString& path);
status_t set_control_look(const BString& path);
} // namespace BPrivate
#endif // _INTERFACE_PRIVATE_H