Implemented get_scroll_bar_info properly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8218 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5ab2a9e4b4
commit
d302fd5997
@ -99,13 +99,13 @@ get_scroll_bar_info(scroll_bar_info *info)
|
||||
if (info == NULL)
|
||||
return B_BAD_VALUE;
|
||||
|
||||
// ToDo: implement get_scroll_bar_info() for real
|
||||
info->proportional = true;
|
||||
info->double_arrows = false;
|
||||
info->knob = 0;
|
||||
info->min_knob_size = (int32)B_V_SCROLL_BAR_WIDTH;
|
||||
|
||||
return B_ERROR;
|
||||
BAppServerLink link;
|
||||
PortMessage msg;
|
||||
link.SetOpCode(AS_GET_SCROLLBAR_INFO);
|
||||
link.FlushWithReply(&msg);
|
||||
msg.Read<scroll_bar_info>(info);
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
@ -417,7 +417,6 @@ _IMPEXP_BE rgb_color
|
||||
keyboard_navigation_color()
|
||||
{
|
||||
// Queries the app_server
|
||||
// TODO: Implement
|
||||
return ui_color(B_KEYBOARD_NAVIGATION_COLOR);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user