mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 06:51:26 +03:00
Aliasing fixes
svn path=/trunk/netsurf/; revision=6959
This commit is contained in:
parent
2fdb251f0c
commit
70f81c8bcf
@ -46,6 +46,7 @@
|
|||||||
#include "riscos/url_complete.h"
|
#include "riscos/url_complete.h"
|
||||||
#include "riscos/wimp.h"
|
#include "riscos/wimp.h"
|
||||||
#include "riscos/wimp_event.h"
|
#include "riscos/wimp_event.h"
|
||||||
|
#include "riscos/wimputils.h"
|
||||||
#include "utils/log.h"
|
#include "utils/log.h"
|
||||||
#include "utils/messages.h"
|
#include "utils/messages.h"
|
||||||
#include "utils/url.h"
|
#include "utils/url.h"
|
||||||
@ -331,7 +332,7 @@ void ro_gui_dialog_open(wimp_w w)
|
|||||||
state.visible.y0 = screen_y - dy;
|
state.visible.y0 = screen_y - dy;
|
||||||
state.visible.y1 = screen_y + dy;
|
state.visible.y1 = screen_y + dy;
|
||||||
state.next = wimp_TOP;
|
state.next = wimp_TOP;
|
||||||
ro_gui_open_window_request((wimp_open*)&state);
|
ro_gui_open_window_request(PTR_WIMP_OPEN(&state));
|
||||||
|
|
||||||
/* Set the caret position */
|
/* Set the caret position */
|
||||||
ro_gui_set_caret_first(w);
|
ro_gui_set_caret_first(w);
|
||||||
@ -458,7 +459,7 @@ bool ro_gui_dialog_open_top(wimp_w w, struct toolbar *toolbar,
|
|||||||
|
|
||||||
/* open the window at the top of the stack */
|
/* open the window at the top of the stack */
|
||||||
state.next = wimp_TOP;
|
state.next = wimp_TOP;
|
||||||
ro_gui_open_window_request((wimp_open*)&state);
|
ro_gui_open_window_request(PTR_WIMP_OPEN(&state));
|
||||||
return open;
|
return open;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -523,7 +524,7 @@ void ro_gui_dialog_open_xy(wimp_w w, int x, int y)
|
|||||||
|
|
||||||
/* open the window at the top of the stack */
|
/* open the window at the top of the stack */
|
||||||
state.next = wimp_TOP;
|
state.next = wimp_TOP;
|
||||||
ro_gui_open_window_request((wimp_open *) &state);
|
ro_gui_open_window_request(PTR_WIMP_OPEN(&state));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -577,7 +578,7 @@ void ro_gui_dialog_open_centre_parent(wimp_w parent, wimp_w child) {
|
|||||||
state.visible.y0 = mid_y - dimension / 2;
|
state.visible.y0 = mid_y - dimension / 2;
|
||||||
state.visible.y1 = state.visible.y0 + dimension;
|
state.visible.y1 = state.visible.y0 + dimension;
|
||||||
state.next = wimp_TOP;
|
state.next = wimp_TOP;
|
||||||
ro_gui_open_window_request((wimp_open*)&state);
|
ro_gui_open_window_request(PTR_WIMP_OPEN(&state));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user