mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-23 03:25:06 -05:00
add tooltips for rules
This commit is contained in:
4 files changed
+8
-4
No files matched your search
+5
-1
@@ -505,7 +505,7 @@ COLORREF _app_getrulecolor (INT listview_id, size_t rule_idx)
|
||||
return _app_getcolorvalue (_r_str_hash (color_value));
|
||||
}
|
||||
|
||||
rstring _app_gettooltip (INT listview_id, size_t lparam)
|
||||
rstring _app_gettooltip (HWND hwnd, INT listview_id, size_t lparam)
|
||||
{
|
||||
rstring result;
|
||||
|
||||
@@ -712,6 +712,10 @@ rstring _app_gettooltip (INT listview_id, size_t lparam)
|
||||
_r_obj_dereference (ptr_rule_object);
|
||||
}
|
||||
}
|
||||
else if (listview_id == IDC_RULE_REMOTE_EDIT || listview_id == IDC_RULE_LOCAL_EDIT)
|
||||
{
|
||||
result = _r_listview_getitemtext (hwnd, listview_id, (INT)lparam, 0);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user