thedmd / pixeltoaster

PixelToaster is a framebuffer library for C++
45 stars 9 forks source link

windows demos and examples should be compiled as gui apps instead of console apps #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
the only exception are examples that output to the console such as
"Events", and "Timer"

its annoying to see a console window pop up when you just want to run a
program -- however, making this happen under visual studio is annoying,
requiring that we replace main with WinMain =p

Original issue reported on code.google.com by glenn.fi...@gmail.com on 7 Sep 2006 at 3:53

GoogleCodeExporter commented 8 years ago
i have decided to keep the examples and test programs as console apps, while 
making
the demos gui apps -- since the gui apps are more complex, adding a simple 
#ifdef
PIXELTOASTER_WINDOWS int WinMain #else int main wont hurt much

Original comment by glenn.fi...@gmail.com on 7 Sep 2006 at 5:25

GoogleCodeExporter commented 8 years ago

Original comment by glenn.fi...@gmail.com on 10 Sep 2006 at 4:33