Name | Modified | Size | Downloads / Week |
---|---|---|---|
Canvas Readme.txt | 2016-11-14 | 1.9 kB | |
NUGG_CANVAS.nugg | 2016-11-14 | 194.2 kB | |
Totals: 2 Items | 196.0 kB | 0 |
Contents of file NUGG_CANVAS.nugg: CLAS ZCX_GUI_CANVAS --> Exception class that deals with all Canvas-related error messages; INTF ZIF_GUI_CANVAS --> This interface should be implemented by every class that wants to be able to offer a graphic canvas functionality; INTF ZIF_GUI_CANVAS_DRAWABLE --> Every class that implements this interface will be able to offer an object drawable by class ZCL_GUI_CANVAS_OBJECT; CLAS ZCL_GUI_CANVAS --> This is the main class that should be used to have the graphic canvas functionality on your program. This is an implementation example of interface ZIF_GUI_CANVAS; CLAS ZCL_GUI_CANVAS_OBJECT --> This class takes the canvas functionality to the next level and implements a canvas that is able to deal with objects such as points, lines, circles, ie, instances of classes that implement the interface ZIF_GUI_CANVAS_DRAWABLE; CLAS ZCL_GUI_CANVAS_DRAWABLE_POINT --> This allows the implementation of an object that can be drawn by class ZCL_GUI_CANVAS_OBJECT; This is an implementation example of interface ZIF_GUI_CANVAS_DRAWABLE. PROG ZCANVAS --> Demonstration program that uses class ZCL_GUI_CANVAS to offer a graphic canvas to the user. It sets and resets pixels based on double clicks inside the canvas area; PROG ZCAMVAS_OBJECTS --> Demonstration program that uses class ZCL_GUI_CANVAS_OBJECT To offer drawings of instances of class ZCL_GUI_CANVAS_DRAWABLE_POINT on canvas. It also works with clicks and double clicks.