Kaydet (Commit) 46f2b538 authored tarafından Ptyl Dragon's avatar Ptyl Dragon Kaydeden (comit) Jan Holesovsky

changed to CGSize

Change-Id: Ic84fcadf4332210693586825cdd8e32ef0f2a727
üst 53001c77
......@@ -132,7 +132,7 @@ context, contextHeight, contextWidth specify where to draw.
*/
void touch_lo_draw_tile(void *context, int contextWidth, int contextHeight, int tilePosX, int tilePosY, int tileWidth, int tileHeight);
void touch_lo_copy_buffer(const void * source, size_t sourceWidth, size_t sourceHeight, size_t sourceBytesPerRow, void * target, size_t targetWidth, size_t targetHeight);
Size touch_lo_get_content_size();
CGSize touch_lo_get_content_size();
void touch_lo_mouse_drag(int x, int y, MLOMouseButtonState state);
// Move the start of the selection to (x,y)
......
......@@ -1770,7 +1770,6 @@ void SwViewShell::PaintTile(OutputDevice *pOut, const Rectangle &rRect)
}
#if !HAVE_FEATURE_DESKTOP
extern "C"
void touch_lo_draw_tile(void * context, int contextWidth, int contextHeight, int tilePosX, int tilePosY, int tileWidth, int tileHeight)
{
......@@ -1812,17 +1811,6 @@ void touch_lo_draw_tile(void * context, int contextWidth, int contextHeight, int
contextHeight);
}
}
extern "C"
Size touch_lo_get_content_size()
{
SwWrtShell *pViewShell = GetActiveWrtShell();
Size contentSize(0,0);
if (pViewShell)
{
}
return contentSize;
}
#endif
extern "C" void touch_ui_selection_none() {}
......
......@@ -414,6 +414,17 @@ touch_lo_copy_buffer(const void * source, size_t sourceWidth, size_t sourceHeigh
CGImageRelease(sourceImage);
}
extern "C"
CGSize touch_lo_get_content_size()
{
CGSize contentSize = CGSizeMake(0,0);
SalFrame *pFocus = IosSalInstance::getInstance()->getFocusFrame();
if (pFocus)
{
}
return contentSize;
}
extern "C"
void touch_lo_render_windows(void *context, int minX, int minY, int width, int height)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment