zacKolton / COMP4560-deferred-exam-project

GNU General Public License v3.0
0 stars 0 forks source link

Integration work #18

Closed zacKolton closed 6 months ago

zacKolton commented 6 months ago

Edits the UI/app/scheduler files. and main.

Structure stays the same but the way the information is laid out is a little different.

One notable change is the UI file:

class UI:
    def __init__(self):
        self._title = "Deferred Exam Scheduler"
        self._width = 500
        self._height= 300
        self._bg ='#ADD8E6'

    def get_title(self): return self._title
    def get_width(self): return self._width
    def get_height(self): return self._height
    def get_background(self): return self._bg

The UI file acts more as a static class than anything now.

I didn't think the UI should access the app logic so i separated it.

Code that is functional - like buttons, are defined in the app. The UI class is essentially the "Settings" of the static properties of the app. @raysofhopes @bochacho

zacKolton commented 6 months ago

Confirmed during meeting