Procházet zdrojové kódy

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

Ethosa před 4 roky
rodič
revize
928d9210b0
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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 & ".")