Implement component object as the wrapper of the coord.
Since a screen object can be mapped to different coord in different frame, we need to create a new class called component to represent the screen object. In this way, we can use the name instead of the coord reference to update the screen object. In the same time ,w e can add high level operaqtor, such as translate, resize,show,hide in this class to provide convienent functions to change the screen objects.
Leave a comment