チェンジセット 3486
- コミット日時:
- 2010/03/06 18:07:27 (3 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/gunyarapaint/branches/gunyarapaint/framework/src/org/libspark/gunyarapaint/framework/events/CommandEvent.as
r3438 r3486 10 10 11 11 public static const UNREGISTERED:String = PREFIX + "unregistered"; 12 13 public static const COMMITTED:String = PREFIX + "committed"; 12 14 13 15 public function CommandEvent(type:String, command:ICommand) as3/gunyarapaint/branches/gunyarapaint/framework/src/org/libspark/gunyarapaint/framework/events/UndoEvent.as
r3438 r3486 7 7 public static const REDO:String = PREFIX + "redo"; 8 8 9 public function UndoEvent(type:String) 9 public static const PUSH:String = PREFIX + "push"; 10 11 public function UndoEvent(type:String, undoCount:int, redoCount:int) 10 12 { 13 m_undoCount = undoCount; 14 m_redoCount = redoCount; 11 15 super(type, false, false); 12 16 } 17 18 public function get undoCount():int 19 { 20 return m_undoCount; 21 } 22 23 public function get redoCount():int 24 { 25 return m_redoCount; 26 } 27 28 private var m_undoCount:int; 29 private var m_redoCount:int; 13 30 } 14 31 }

