protected override void update_movement(bool input) { Up_Page_Arrow.update(); Down_Page_Arrow.update(); if (Global.Input.mouse_triggered(MouseButtons.Left, false)) { } //Down_Page_Arrow.angle += MathHelper.Pi / 360f; //Down_Page_Arrow.mirrored = !Down_Page_Arrow.mirrored; if (Global.Input.mouseScroll > 0) { Up_Page_Arrow_ArrowClicked(this, null); } else if (Global.Input.mouseScroll < 0) { Down_Page_Arrow_ArrowClicked(this, null); } else { Up_Page_Arrow.UpdateInput(-(loc + draw_offset)); Down_Page_Arrow.UpdateInput(-(loc + draw_offset)); } base.update_movement(input); }
protected override void UpdateMenu(bool active) { Up_Page_Arrow.update(); Down_Page_Arrow.update(); base.UpdateMenu(active); refresh_settings(); if (Scrollbar != null) { Scrollbar.update(); if (this.ready_for_inputs) { Scrollbar.update_input(); } } update_scroll_offset(); update_cursor(); Solo_Icon.update(); }