scrolls + more mouse stuff (bfb)

This commit is contained in:
Ben Russell 2016-09-15 17:32:37 +12:00
parent 7c5a51c6f7
commit ab25aaf889
4 changed files with 13 additions and 0 deletions

View File

@ -9,7 +9,11 @@ CLASS none/bfb
FIELD h entryHeight I
FIELD i mouseX I
FIELD j mouseY I
FIELD l scrollLastMouseY I
FIELD m scrollSpeedY F
FIELD n scrollY F
FIELD u buttonIdScrollUp I
FIELD v buttonIdScrollDown I
METHOD <init> (Lnone/bdq;IIIII)V
ARG 0 mc
ARG 1 width
@ -42,12 +46,18 @@ CLASS none/bfb
METHOD c findEntryIndex (II)I
ARG 0 mouseX
ARG 1 mouseY
METHOD d setScrollButtonIds (II)V
ARG 0 up
ARG 1 down
METHOD g mouseInRange (I)Z
ARG 0 y
METHOD h scrollByY (I)V
ARG 0 dy
METHOD i setLeftPos (I)V
ARG 0 x1
METHOD k contentHeight ()I
METHOD l clampScrollY ()V
METHOD m getMaxScrollY ()I
METHOD n getScrollY ()I
METHOD p handleMouseEvent ()V
METHOD r getEntryHeight ()I

View File

@ -10,3 +10,4 @@ CLASS none/bfj
ARG 2 mouseX
ARG 3 mouseY
METHOD k contentHeight ()I
METHOD p handleMouseEvent ()V

View File

@ -7,3 +7,4 @@ CLASS none/bfl
ARG 3 mouseY
METHOD b entryCount ()I
METHOD k contentHeight ()I
METHOD p handleMouseEvent ()V

View File

@ -11,3 +11,4 @@ CLASS none/bfm
ARG 3 mouseY
METHOD b entryCount ()I
METHOD k contentHeight ()I
METHOD p handleMouseEvent ()V