You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to show a title screen in EGA mode in a winforms Form.
I was thinking that in the Engine project to create a IDisplay that takes certain commands such as DrawPicture, DrawString and when it is ready to show an update that it would fire an updated event. I also figured that it would be helpful say when drawing the TitleScreen that you would Suspend the Display tell it the x number of commands to show build the display as needed then resume and it would fire the update event. From what I've been reading the best bet is to have a byte[] that gets manipulated by the Draw commands then have it update the System.Drawing.Bitmap (if it isn't added by reference already) Then fire the Updated event. I'm not sure what the best way to support other modes (such as CGA or other) so for now just make a interface for the display.
Copy the code from coab and hardcode a window to show the first image in whatever dax file has the title.
The text was updated successfully, but these errors were encountered:
I want to show a title screen in EGA mode in a winforms Form.
I was thinking that in the Engine project to create a
IDisplay
that takes certain commands such as DrawPicture, DrawString and when it is ready to show an update that it would fire an updated event. I also figured that it would be helpful say when drawing the TitleScreen that you would Suspend the Display tell it the x number of commands to show build the display as needed then resume and it would fire the update event. From what I've been reading the best bet is to have abyte[]
that gets manipulated by the Draw commands then have it update theSystem.Drawing.Bitmap
(if it isn't added by reference already) Then fire the Updated event. I'm not sure what the best way to support other modes (such as CGA or other) so for now just make a interface for the display.Copy the code from coab and hardcode a window to show the first image in whatever dax file has the title.
The text was updated successfully, but these errors were encountered: