module Layers; from Lecture import all; from View import all; export all; object LectureLayer inherits from Lecture components: tex:Text and scr:Scrollable and opa:Opacity and bac:Background and acc:Access and edi:Editable and hei:Height and wid:Width and pos:Position and curlay:CurrentLayer; description: (* The main base lecture which has text that can be expanded and/or collapsed. *); end LectureLayer; object Position components: integer; description: (* The position of layers on the screen, i.e. top, middle, second from bottom, etc. *); end Position; object Layer components: opa:Opacity and bac:Background and acc:Access and edi:Editable and hei:Height and wid:Width and curlay:CurrentLayer and Position; description: (* The layer is an area on which text, drawings, or sticky notes may appear *); end Layer; object Access components: boolean; description: (* Whether the layer can be written on based on access settings. *); end Access; object Editable components: boolean; description: (* Whether the layer can be edited (i.e. the base lecture layer cannot). *); end Editable; object Opacity components: integer; description: (* Opacity is how visible the data on the screen is. *); end Opacity; object Background components: boolean; description: (* The transparency is if the background layer is visible or not. *); end Background; object Coordinate components: XCoordinate and YCoordinate; description: (* A coordinate is a position (x, y) on the layer. *); end Coordinate; object XCoordinate components: integer; description: (* Used to measure the x position of an element on the layer. *); end XCoordinate; object YCoordinate components: integer; description: (* Used to measure the y position of an element on the layer. *); end YCoordinate; object CurrentLayer components: Layer; description: (* The layer that is the currently selected/highlighted layer. *); end CurrentLayer; object Color components: red:Red and gree:Green and blu:Blue; description: (* The numerical value for the color in RGB form. *); end Color; object Red components: integer; description: (* The red value of the color. *); end Red; object Green components: integer; description: (* The green value of the color. *); end Green; object Blue components: integer; description: (* The blue value of the color. *); end Blue; end Layers;