Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show title screen in EGA mode #1

Open
immeraufdemhund opened this issue Jul 17, 2017 · 0 comments
Open

Show title screen in EGA mode #1

immeraufdemhund opened this issue Jul 17, 2017 · 0 comments
Milestone

Comments

@immeraufdemhund
Copy link
Owner

immeraufdemhund commented Jul 17, 2017

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.

@immeraufdemhund immeraufdemhund added this to the 0.0.1 milestone Jul 17, 2017
@immeraufdemhund immeraufdemhund added this to Backlog in Goldbox Engine Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant