box_lib.obj - библиотека gui компонентов

Discussing libraries simplifying applications development
  • for the record, ctrl+c, v, x work. scancodes for these buttons are identical...
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • hidnplayr wrote:Yes, please use ASCII instead of scancodes.
    In this case ctrl+a won't work in non-romanian languages.
    Из хаоса в космос
  • Leency wrote:
    hidnplayr wrote:Yes, please use ASCII instead of scancodes.
    In this case ctrl+a won't work in non-romanian languages.
    Interesting.
    How does it work on other systems?
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • hidnplayr wrote: Interesting.
    How does it work on other systems?
    In Linux also
    to infinity and beyond
  • punk_joker wrote:
    hidnplayr wrote: Interesting.
    How does it work on other systems?
    In Linux also
    How?
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • Maybe scancode + ASCII.
    Maybe keyboard settings.
  • hidnplayr wrote: How?
    Many key combinations do not work with the Russian keyboard layout
    to infinity and beyond
  • rev 7577
    Изменения в элементе t_edit:
    - убрана функция ted_but_find_next (вместо нее будет использована функция ted_but_find, с параметром задающим направление поиска);
    - добавлена функция ted_but_replace для замены текста.
    Забыл внести на svn справку t_edit.htm
  • Как сделать текст в EditBox доступным для выделения, но не доступным для изменения? Есть для этого флаги?
    Достаточно разрешить только комбинации с CTRL'ом.
    Из хаоса в космос
  • EDITBOX TODO:
    После вставки текста нужно перемещать курсор в конец вставленной строки.
    #7903
    При деактивации editbox'а нужно сбрасывать выделение (https://prnt.sc/s6fc0d) #7904

    CHECKBOX TODO:
    Нужно прямоугольник заменить на галочку, потому что прямоугольник в UI всех ОС значит "Неопределённое состояние чекбокса" или "Выбран частично".
    Ref. https://ruseller.com/lessons.php?rub=28&id=1214,
    https://www.google.com/search?q=%D1%87% ... 58&bih=977
    Last edited by Leency on Sun May 10, 2020 12:03 am, edited 2 times in total.
    Из хаоса в космос
  • EDITBOX TODO:
    После вставки текста нужно перемещать курсор в конец вставленной строки.
    Fixed in #7903
    editbox: move cursor to the end of the inserted string by Prohor Nikiforov and me
    Из хаоса в космос
  • Leency wrote:EDITBOX TODO:
    При деактивации editbox'а нужно сбрасывать выделение (https://prnt.sc/s6fc0d)
    Fix by me #7904-#7905: editbox: remove selection if element was deactivated
    Из хаоса в космос
  • rev 8083
    Обновил макросы в load_lib. Теперь при не удачной попытке открыть библиотеку (когда в библиотеке нет нужной функции) в заголовке сообщения добавляется имя не найденной функции.
    Spoiler:
    new_load_lib.png
    new_load_lib.png (10.64 KiB)
    Viewed 7142 times
  • Leency wrote:EDITBOX TODO:
    После вставки текста нужно перемещать курсор в конец вставленной строки.
    #7903
    При деактивации editbox'а нужно сбрасывать выделение (https://prnt.sc/s6fc0d) #7904

    CHECKBOX TODO:
    Нужно прямоугольник заменить на галочку, потому что прямоугольник в UI всех ОС значит "Неопределённое состояние чекбокса" или "Выбран частично".
    Ref. https://ruseller.com/lessons.php?rub=28&id=1214,
    https://www.google.com/search?q=%D1%87% ... 58&bih=977
    Это уже реализовано в C--
    lib/gui/checkbox.h
    Там вывод поверх 3d bar картинки галочки.
    http://websvn.kolibrios.org/filedetails ... checkbox.h
  • Who is online

    Users browsing this forum: No registered users and 6 guests