From 73545dc95de27a1925778335f8361adc59b6c49a Mon Sep 17 00:00:00 2001 From: shmyga Date: Mon, 2 Dec 2013 21:40:13 +0400 Subject: [PATCH] view: added invalidate method --- haxework/gui/IView.hx | 1 + haxework/gui/View.hx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/haxework/gui/IView.hx b/haxework/gui/IView.hx index 6a737b8..84d2a58 100755 --- a/haxework/gui/IView.hx +++ b/haxework/gui/IView.hx @@ -40,4 +40,5 @@ interface IView { public var parent(default, null):Null>; public function update():Void; + public function invalidate():Void; } \ No newline at end of file diff --git a/haxework/gui/View.hx b/haxework/gui/View.hx index 54d1107..d2c6e1b 100755 --- a/haxework/gui/View.hx +++ b/haxework/gui/View.hx @@ -66,7 +66,7 @@ class View implements IView { return skin; } - private function invalidate():Void { + public function invalidate():Void { updater.invalidate(this); }