1f3d1fb3e0
Extract ui_init_connection() into smaller functions to clarify purpose. Signed-off-by: Henrik Andersson <hean01@cendio.com> Signed-off-by: Thomas Nilefalk <thoni56@cendio.se>
18 lines
348 B
C
18 lines
348 B
C
#include <cgreen/mocks.h>
|
|
#include "../rdesktop.h"
|
|
|
|
void ui_get_screen_size(uint32 *width, uint32 *height)
|
|
{
|
|
mock(width, height);
|
|
}
|
|
|
|
void ui_get_screen_size_from_percentage(uint32 pw, uint32 ph, uint32 *width, uint32 *height)
|
|
{
|
|
mock(pw, ph, width, height);
|
|
}
|
|
|
|
void ui_get_workarea_size(uint32 *width, uint32 *height)
|
|
{
|
|
mock(width, height);
|
|
}
|