Logo
Explore Help
Sign In
1berry/Amulet-Map-Editor
1
0
Fork 0
You've already forked Amulet-Map-Editor
Code Issues Packages Projects Releases Wiki Activity
Amulet-Map-Editor/amulet_map_editor/api/opengl/events.py

13 lines
296 B
Python
Raw Permalink Normal View History

Changed draw event behaviour I implemented a thing and now want to change it back. Rendering should be handled by a single function bound to EVT_DRAW that manages start, draw and end logic. The EVT_PRE_DRAW and the POST variant still exist to run other logic either before or after drawing
2021-01-26 13:48:55 +00:00
from wx.lib import newevent
Imported the camera events into the opengl init file
2021-01-27 10:05:07 +00:00
from .camera import (
CameraMovedEvent,
EVT_CAMERA_MOVED,
ProjectionChangedEvent,
EVT_PROJECTION_CHANGED,
)
Changed draw event behaviour I implemented a thing and now want to change it back. Rendering should be handled by a single function bound to EVT_DRAW that manages start, draw and end logic. The EVT_PRE_DRAW and the POST variant still exist to run other logic either before or after drawing
2021-01-26 13:48:55 +00:00
PreDrawEvent, EVT_PRE_DRAW = newevent.NewEvent()
DrawEvent, EVT_DRAW = newevent.NewEvent()
PostDrawEvent, EVT_POST_DRAW = newevent.NewEvent()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 215ms Template: 18ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API