File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
common/src/main/kotlin/com/lambda/gui/api Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,19 @@ abstract class GuiEvent : Event {
2727 class Hide : GuiEvent ()
2828 class Tick : GuiEvent ()
2929 class Render : GuiEvent ()
30+
31+ @Deprecated(" Deprecated key press event" , replaceWith = ReplaceWith (" com.lambda.event.events.KeyboardEvent.Press" ))
3032 class KeyPress (val key : KeyCode ) : GuiEvent()
33+
34+ @Deprecated(" Deprecated char event" , replaceWith = ReplaceWith (" com.lambda.event.events.KeyboardEvent.Char" ))
3135 class CharTyped (val char : Char ) : GuiEvent()
36+
37+ @Deprecated(" Use the new global mouse events" , replaceWith = ReplaceWith (" com.lambda.event.events.MouseEvent.Click" ))
3238 class MouseClick (val button : Mouse .Button , val action : Mouse .Action , val mouse : Vec2d ) : GuiEvent()
39+
40+ @Deprecated(" Use the new global mouse events" , replaceWith = ReplaceWith (" com.lambda.event.events.MouseEvent.Move" ))
3341 class MouseMove (val mouse : Vec2d ) : GuiEvent()
42+
43+ @Deprecated(" Use the new global mouse events" , replaceWith = ReplaceWith (" com.lambda.event.events.MouseEvent.Scroll" ))
3444 class MouseScroll (val mouse : Vec2d , val delta : Double ) : GuiEvent()
3545}
You can’t perform that action at this time.
0 commit comments