[Waba-commits] CVS: waba/vm/port nmport_c.c,1.5,1.6
Status: Abandoned
Brought to you by:
bornet
From: MURANAKA M. <mo...@us...> - 2001-09-02 03:48:46
|
Update of /cvsroot/waba/waba/vm/port In directory usw-pr-cvs1:/tmp/cvs-serv12055/vm/port Modified Files: nmport_c.c Log Message: Modified waba.ui.Conrtol not to inherit waba.sys.Thread. When the control class developer who wannna use thread, he must implement Runnable interface and thread code in his code by himself. Index: nmport_c.c =================================================================== RCS file: /cvsroot/waba/waba/vm/port/nmport_c.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** nmport_c.c 2001/08/18 23:02:26 1.5 --- nmport_c.c 2001/09/02 03:48:43 1.6 *************** *** 206,219 **** // // var[0] = Class ! // var[1] = Runnable target (from waba.sys.Thread) ! // var[2] = int x ! // var[3] = int y ! // var[4] = int width ! // var[5] = int height ! #define WOBJ_ControlX(o) (objectPtr(o))[2].intValue ! #define WOBJ_ControlY(o) (objectPtr(o))[3].intValue ! #define WOBJ_ControlWidth(o) (objectPtr(o))[4].intValue ! #define WOBJ_ControlHeight(o) (objectPtr(o))[5].intValue // --- 206,218 ---- // // var[0] = Class ! // var[1] = int x ! // var[2] = int y ! // var[3] = int width ! // var[4] = int height ! #define WOBJ_ControlX(o) (objectPtr(o))[1].intValue ! #define WOBJ_ControlY(o) (objectPtr(o))[2].intValue ! #define WOBJ_ControlWidth(o) (objectPtr(o))[3].intValue ! #define WOBJ_ControlHeight(o) (objectPtr(o))[4].intValue // |