Преглед на файлове

Merge remote-tracking branch 'origin/master' into nightly

Ethosa преди 4 години
родител
ревизия
928d9210b0
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      tests/test33.nim

+ 3 - 3
tests/test33.nim

@@ -12,14 +12,14 @@ node.setText("Hello")
 node.setAnchor(0.5, 0.5, 0.5, 0.5)
 
 
-node@ready(self):
+node@onReady(self):
   echo "hello!"
 
-node@input(self, event):
+node@onInput(self, event):
   if event.isInputEventMouseButton() and event.pressed:
     echo "clicked"
 
-node@on_click(self, x, y):
+node@onClick(self, x, y):
   node.setText("clicked in " & $x & "," & $y & ".")