Style changes, just to test if committing from here works...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15233 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
/** Global functions and variables for the Interface Kit */
|
/** Global functions and variables for the Interface Kit */
|
||||||
|
|
||||||
#include <Application.h>
|
#include <Application.h>
|
||||||
|
#include <Font.h>
|
||||||
#include <InterfaceDefs.h>
|
#include <InterfaceDefs.h>
|
||||||
#include <Menu.h>
|
#include <Menu.h>
|
||||||
#include <Roster.h>
|
#include <Roster.h>
|
||||||
@@ -21,6 +22,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
// TODO: remove this header
|
// TODO: remove this header
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <AppServerLink.h>
|
#include <AppServerLink.h>
|
||||||
#include <WindowInfo.h>
|
#include <WindowInfo.h>
|
||||||
@@ -31,8 +33,6 @@
|
|||||||
#include <ColorSet.h> // for private system colors stuff
|
#include <ColorSet.h> // for private system colors stuff
|
||||||
#include <ColorTools.h>
|
#include <ColorTools.h>
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
#include <Font.h>
|
|
||||||
#include "moreUTF8.h"
|
#include "moreUTF8.h"
|
||||||
#include "truncate_string.h"
|
#include "truncate_string.h"
|
||||||
|
|
||||||
@@ -162,6 +162,7 @@ system_colors()
|
|||||||
return BScreen(B_MAIN_SCREEN_ID).ColorMap();
|
return BScreen(B_MAIN_SCREEN_ID).ColorMap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
_IMPEXP_BE status_t
|
_IMPEXP_BE status_t
|
||||||
set_screen_space(int32 index, uint32 space, bool stick)
|
set_screen_space(int32 index, uint32 space, bool stick)
|
||||||
{
|
{
|
||||||
@@ -230,6 +231,7 @@ set_scroll_bar_info(scroll_bar_info *info)
|
|||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
_IMPEXP_BE status_t
|
_IMPEXP_BE status_t
|
||||||
get_mouse_type(int32 *type)
|
get_mouse_type(int32 *type)
|
||||||
{
|
{
|
||||||
@@ -462,14 +464,12 @@ get_key_map(key_map **map, char **key_buffer)
|
|||||||
|
|
||||||
_control_input_server_(&command, &reply);
|
_control_input_server_(&command, &reply);
|
||||||
|
|
||||||
if(reply.FindData("keymap", B_ANY_TYPE, &map_array, &map_count) != B_OK)
|
if (reply.FindData("keymap", B_ANY_TYPE, &map_array, &map_count) != B_OK) {
|
||||||
{
|
|
||||||
*map = 0; *key_buffer = 0;
|
*map = 0; *key_buffer = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(reply.FindData("key_buffer", B_ANY_TYPE, &key_array, &key_count) != B_OK)
|
if (reply.FindData("key_buffer", B_ANY_TYPE, &key_array, &key_count) != B_OK) {
|
||||||
{
|
|
||||||
*map = 0; *key_buffer = 0;
|
*map = 0; *key_buffer = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user