~unity-team/platform-api/QtAsMirCompositor

« back to all changes in this revision

Viewing changes to src/ubuntu/mirclient/ubuntu_application_api_mirclient.cpp

  • Committer: Daniel d'Andrada
  • Date: 2014-04-17 22:09:38 UTC
  • mfrom: (211.1.1 window_get_size)
  • Revision ID: daniel.dandrada@canonical.com-20140417220938-k6pld3nxrwf55ib8
Added ua_ui_window_get_size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
311
311
    delete window;
312
312
}
313
313
 
 
314
void
 
315
ua_ui_window_get_size(
 
316
    UAUiWindow *u_window,
 
317
    uint32_t *width,
 
318
    uint32_t *height)
 
319
{
 
320
    auto window = uamc::Window::from_u_window(u_window);
 
321
    window->get_size(width, height);
 
322
}
 
323
 
314
324
UStatus ua_ui_window_move(UAUiWindow* u_window, uint32_t x, uint32_t y)
315
325
{
316
326
    // TODO<papi,mir>: Implement. Assuming this should exist on mirclient?