* added click to focus mouse mode; right-click for bring-to-front and send-to-back
(might cause some regressions in FFM) * made accept first click user configurable * updated the Mouse preflet to use the layout kit * removed the warp and instant warp modes from the Mouse preflet * changed internal representation of mouse modes (warp modes moved) * coding style fixes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33732 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -160,9 +160,14 @@ struct mouse_map {
|
||||
|
||||
enum mode_mouse {
|
||||
B_NORMAL_MOUSE = 0,
|
||||
B_FOCUS_FOLLOWS_MOUSE = 1,
|
||||
B_WARP_MOUSE = 3,
|
||||
B_INSTANT_WARP_MOUSE = 7
|
||||
B_CLICK_TO_FOCUS_MOUSE = -1,
|
||||
B_FOCUS_FOLLOWS_MOUSE = 1
|
||||
};
|
||||
|
||||
enum mode_focus_follows_mouse {
|
||||
B_NORMAL_FOCUS_FOLLOWS_MOUSE = 0,
|
||||
B_WARP_FOCUS_FOLLOWS_MOUSE = 1,
|
||||
B_INSTANT_WARP_FOCUS_FOLLOWS_MOUSE = 2
|
||||
};
|
||||
|
||||
|
||||
@@ -372,6 +377,12 @@ bool focus_follows_mouse();
|
||||
void set_mouse_mode(mode_mouse mode);
|
||||
mode_mouse mouse_mode();
|
||||
|
||||
void set_focus_follows_mouse_mode(mode_focus_follows_mouse mode);
|
||||
mode_focus_follows_mouse focus_follows_mouse_mode();
|
||||
|
||||
void set_accept_first_click(bool acceptFirstClick);
|
||||
bool accept_first_click();
|
||||
|
||||
rgb_color ui_color(color_which which);
|
||||
void set_ui_color(const color_which& which, const rgb_color& color);
|
||||
rgb_color tint_color(rgb_color color, float tint);
|
||||
|
||||
Reference in New Issue
Block a user