Bitte melden Sie sich an, um diesen Anhang zu sehen.
The calendar content is completely python-sided, you can edit it as you wish via the python file. It works completely stable and error free.
Code
- ************************************************** ****************************
- # ( Game.py - Popup )
- import ogs_calendar
- # (Added to Imports)
- self.playerGauge = None
- # ( Searched. )
- self.uiGuiEventPage = None
- # ( Added below )
- onPressKeyDict[app.DIK_F4] = lambda : self.__PressQuickSlot(7)
- # ( Searched. )
- onPressKeyDict[app.DIK_F5] = lambda : self.__ClickEventPageButton()
- # ( Added below )
- def __ClickEventPageButton(self):
- if not self.uiGuiEventPage:
- self.uiGuiEventPage = ogs_calendar.OptionDialog()
- self.uiGuiEventPage.Show()
- # ( Game.py - Added at the Bottom )
- ************************************************** ****************************