Changeset d4ea1f6 in mainline for uspace/lib/ui/test/scrollbar.c


Ignore:
Timestamp:
2022-03-21T17:38:57Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8965860c
Parents:
26c90dd
Message:

Scroll as soon as scroll button is pressed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/test/scrollbar.c

    r26c90dd rd4ea1f6  
    10241024        event.vpos = 20;
    10251025        claim = ui_scrollbar_pos_event(scrollbar, &event);
    1026         PCUT_ASSERT_TRUE(scrollbar->btn_up->held);
     1026        PCUT_ASSERT_TRUE(scrollbar->up_btn->held);
    10271027        PCUT_ASSERT_EQUALS(ui_claimed, claim);
    10281028
     
    11811181        event.vpos = 20;
    11821182        claim = ui_scrollbar_pos_event(scrollbar, &event);
    1183         PCUT_ASSERT_TRUE(scrollbar->btn_down->held);
     1183        PCUT_ASSERT_TRUE(scrollbar->down_btn->held);
    11841184        PCUT_ASSERT_EQUALS(ui_claimed, claim);
    11851185
Note: See TracChangeset for help on using the changeset viewer.