added draw tile signature and select all fix
Change-Id: I6118c55caa12d9ba52000f89e869e27b218859be
This commit is contained in:
committed by
Jan Holesovsky
parent
fcdde111e4
commit
d8e8e6bcbe
@@ -58,6 +58,8 @@ void touch_lo_pan(int deltaX, int deltaY);
|
||||
void touch_lo_zoom(int x, int y, float scale);
|
||||
void touch_lo_keyboard_input(int c);
|
||||
|
||||
void touch_lo_draw_tile(void *context, int contextWidth, int contextHeight, int tileWidth, int tileHeight, int tilePosX, int tilePosY);
|
||||
|
||||
typedef enum { DOWN, MOVE, UP} MLOMouseButtonState;
|
||||
|
||||
void touch_lo_mouse_drag(int x, int y, MLOMouseButtonState state);
|
||||
|
@@ -471,7 +471,7 @@ mlo_is_document_open(void){
|
||||
|
||||
extern "C"
|
||||
void
|
||||
lmo_select_all(void){
|
||||
mlo_select_all(void){
|
||||
getXDispatchHelper()->executeDispatch(getXDispatchProvider(),
|
||||
OUString(".uno:SelectAll"),
|
||||
OUString("_self"),
|
||||
|
@@ -33,11 +33,9 @@
|
||||
|
||||
-(void)loSelectAll:(id) sender{
|
||||
|
||||
#if 0 // No mlo_select_all() anywhere !?
|
||||
NSLog(@"Calling mlo_select_all()");
|
||||
mlo_select_all();
|
||||
NSLog(@"mlo_select_all() returned. reshowing contextualMenu");
|
||||
#endif
|
||||
[_selectionViewController showPostSelectAll];
|
||||
}
|
||||
|
||||
|
@@ -503,4 +503,17 @@ void touch_lo_keyboard_did_hide()
|
||||
}
|
||||
}
|
||||
|
||||
extern "C"
|
||||
void touch_lo_draw_tile(void *context, int contextWidth, int contextHeight, int tileWidth, int tileHeight, int tilePosX, int tilePosY)
|
||||
{
|
||||
// draws the area of one tile
|
||||
|
||||
SalFrame *pFocus = IosSalInstance::getInstance()->getFocusFrame();
|
||||
if (pFocus) {
|
||||
|
||||
// TODO: calling tile drawing code
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
Reference in New Issue
Block a user