From 97e06fdb453376ef287565a164831a1c38902c54 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sun, 17 May 2020 20:10:07 +0000 Subject: [PATCH] Quark v0.7 git-svn-id: svn://kolibrios.org@7941 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/lib/list_box.h | 14 ++-- programs/cmm/lib/strings.h | 12 ++++ programs/cmm/quark/data.h | 18 +++-- programs/cmm/quark/quark.c | 73 ++++++++++---------- programs/cmm/quark/search.h | 118 +++++++++++++++++++++++++++++++++ programs/cmm/quark/selection.h | 13 ++-- 6 files changed, 194 insertions(+), 54 deletions(-) create mode 100644 programs/cmm/quark/search.h diff --git a/programs/cmm/lib/list_box.h b/programs/cmm/lib/list_box.h index 6a6348aba7..45fa081a95 100644 --- a/programs/cmm/lib/list_box.h +++ b/programs/cmm/lib/list_box.h @@ -102,21 +102,21 @@ struct llist :int llist::ProcessMouse(int xx, yy) { - int cur_y_temp, cur_x_temp, ret=0; + int new_cur_y, new_cur_x, ret=0; if (MouseOver(xx, yy)) { - cur_y_temp = yy - y / item_h + first; - if (cur_y_temp != cur_y) && (cur_y_temp