Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 136862 | Differences between
and this patch

Collapse All | Expand All

(-)seti_boinc/client/sah_gfx.cpp.orig (-2 / +2 lines)
Lines 745-751 Link Here
745
    sah_graphics_dl->resize(w, h);
745
    sah_graphics_dl->resize(w, h);
746
}
746
}
747
747
748
void boinc_app_mouse_move(int x, int y, int left, int middle, int right) {
748
void boinc_app_mouse_move(int x, int y, bool left, bool middle, bool right) {
749
    if (left) {
749
    if (left) {
750
        sah_graphics_dl->pitch_angle += (y-mouse_y)*.1;
750
        sah_graphics_dl->pitch_angle += (y-mouse_y)*.1;
751
        sah_graphics_dl->roll_angle += (x-mouse_x)*.1;
751
        sah_graphics_dl->roll_angle += (x-mouse_x)*.1;
Lines 761-767 Link Here
761
    }
761
    }
762
}
762
}
763
763
764
void boinc_app_mouse_button(int x, int y, int which, int is_down) {
764
void boinc_app_mouse_button(int x, int y, int which, bool is_down) {
765
    if (is_down) {
765
    if (is_down) {
766
        mouse_down = true;
766
        mouse_down = true;
767
        mouse_x = x;
767
        mouse_x = x;

Return to bug 136862