mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=10313
This commit is contained in:
parent
4c1cf88878
commit
0f28904e41
|
@ -38,8 +38,8 @@ extern void app_graphics_reread_prefs(void);
|
|||
// called when get REREAD_PREFS message from core client.
|
||||
// called in the graphics thread
|
||||
extern void app_graphics_resize(int width, int height);
|
||||
extern void boinc_app_mouse_button(int x, int y, int which, bool is_down);
|
||||
extern void boinc_app_mouse_move(int x, int y, bool left, bool middle, bool right);
|
||||
extern void boinc_app_mouse_button(int x, int y, int which, int is_down);
|
||||
extern void boinc_app_mouse_move(int x, int y, bool left, int middle, int right);
|
||||
extern void boinc_app_key_press(int, int);
|
||||
extern void boinc_app_key_release(int, int);
|
||||
|
||||
|
|
|
@ -64,9 +64,9 @@ void boinc_app_key_press(int, int) {
|
|||
|
||||
void boinc_app_key_release(int, int) {
|
||||
}
|
||||
void boinc_app_mouse_button(int x, int y, int which, bool is_down) {
|
||||
void boinc_app_mouse_button(int x, int y, int which, int is_down) {
|
||||
}
|
||||
void boinc_app_mouse_move(int x, int y, bool left, bool middle, bool right) {
|
||||
void boinc_app_mouse_move(int x, int y, int left, int middle, int right) {
|
||||
}
|
||||
void app_graphics_resize(int w, int h) {
|
||||
glViewport(0, 0, w, h);
|
||||
|
|
|
@ -118,7 +118,7 @@ void mouse_click_move(int x, int y){
|
|||
}
|
||||
}
|
||||
|
||||
void mouse_move(int x, int y) {
|
||||
void mouse_move(int, int) {
|
||||
if (current_graphics_mode == MODE_FULLSCREEN){
|
||||
set_mode(MODE_HIDE_GRAPHICS);
|
||||
}
|
||||
|
|
|
@ -5838,3 +5838,12 @@ David 11 June 2006
|
|||
error_numberse.h
|
||||
filesys.C,h
|
||||
util.C
|
||||
|
||||
David 12 June 2006
|
||||
- Graphics API: change params of boinc_app_mouse_button()
|
||||
and boinc_app_mouse_move() from bool to int (for ANSI C compatibility)
|
||||
|
||||
api/
|
||||
graphics_api.h
|
||||
static_graphics.C
|
||||
x_opengl.C
|
||||
|
|
|
@ -104,15 +104,15 @@ The application must supply the following input-handling functions:
|
|||
<pre>
|
||||
void boinc_app_mouse_move(
|
||||
int x, int y, // new coords of cursor
|
||||
bool left, // whether left mouse button is down
|
||||
bool middle,
|
||||
bool right
|
||||
int left, // whether left mouse button is down
|
||||
int middle,
|
||||
int right
|
||||
);
|
||||
|
||||
void boinc_app_mouse_button(
|
||||
int x, int y, // coords of cursor
|
||||
int which, // which button (0/1/2)
|
||||
bool is_down // true iff button is now down
|
||||
int is_down // true iff button is now down
|
||||
);
|
||||
|
||||
void boinc_app_key_press(
|
||||
|
|
Loading…
Reference in New Issue