-
-
Notifications
You must be signed in to change notification settings - Fork 10
Crow.ScrollingObject
Jean-Philippe Bruyère edited this page Jan 30, 2018
·
3 revisions
generic class to build scrolling control in both directions
namespace: Crow
-
ILayoutable
-
GraphicObject
-
ScrollingObject
-
-
public class ScrollingObject : GraphicObject
⬜ | prototype | description |
---|---|---|
ScrollingObject (Interface iface) |
__ |
⬜ | name | description |
---|---|---|
MaxScrollX |
Horizontal Scrolling maximum value | |
MaxScrollY |
Vertical Scrolling maximum value | |
MouseWheelSpeed |
Mouse Wheel Scrolling multiplier | |
ScrollX |
Horizontal Scrolling Position | |
ScrollY |
Vertical Scrolling Position |
⬜ | prototype | description |
---|---|---|
void onKeyDown(object sender, KeyboardKeyEventArgs e) |
Process scrolling with arrow keys, home and end keys. | |
void onMouseWheel(object sender, MouseWheelEventArgs e) |
Process scrolling vertically, or if shift is down, vertically |
⬜ | name | description |
---|