Samuel,

it is great that you have contributed code to the Shoes platform but some of 
your comments seem a bit over the top (I don't know if English is your 1st or 
2nd language either).

Remember Mac OS is a variant of BSD (to my understanding) with some closed 
source code added in my Apple.
I would hazard a guess that it a program can work under linux then it should 
work on Mac (I do apologies if what i have said is in fact false).

It's okay if you don't like apple or the mac OS, But others on this list do 
and remember what you put out into forums like this one stays there for ever 
and can be transmitted to other forums as i have found posting i have made 
appear on total different lists to where i placed the original.

Secondly and most importantly a future employer (who may just LOVE Apple) may 
come across this posting and be put off employing you based solely on this 
posting or the apparent tone of the words used.

Always try and put things like this in a frame where as you said later on I 
suck on macs (i infer that you mean your not as good at writing C/C++ code for 
the MAC OS as for Linux or windows - and that's fine it a comment about your 
current skill set. But always allow a get out clause by adding something like 
due to not having a test MAC to use) and that's fine for as an employer I'd see 
it as an honest comment reflecting your poor skill set with mac's at the time 
of the writing the posting and 6 months, 1 year etc in the future your skill 
set may have changed to one where you are very proficient with the MAC OS.

And with the current economy of most countries going downward it pays to be 
careful about how you phrase things in forums.


cheers,

Dave.

On Fri, 17 Jul 2009 16:42:42 Samuel Peterson wrote:
> ok, I was bored... and I did this for my application, so I share with you,
> today, my work! I only did the work for GTK and Windows... I don't know
> crap about Mac (I don't even like apple), so screw mac..... I have not
> tested in GTK yet, but I will in about a week.
> Lets get started....
> Get the latest copy of the source.... (
> http://wiki.github.com/why/shoes/recentbuilds)
> Mine was 0.r1243
>
> Download all the dependencies for your platform from:
> http://wiki.github.com/why/shoes/buildingshoes
> and place your dependencies as instructed on the page...
>
> From now on, everything is being referred to as if we're already in the
> shoes directory.
>
> Open "shoes/native/windows.c"
>
> add:
> > int shoes_native_get_resolution_width()
>
> {
>
> return GetSystemMetrics(SM_CXSCREEN);
>
> }
>
> > int shoes_native_get_resolution_height()
>
> {
>
> return GetSystemMetrics(SM_CYSCREEN);
>
> }
>
> before:
> > void shoes_native_cleanup(shoes_world_t *world)
>
> Open "shoes/native/gtk.c"
>
> add:
> > int shoes_native_get_resolution_width()
>
> {
>
> GdkScreen* screen = NULL;
>
> > screen = gtk_window_get_screen(GTK_WINDOW(app->os.window));
> >
> >
> > return gdk_screen_get_width(screen);
>
> }
>
> > int shoes_native_get_resolution_height()
>
> {
>
> GdkScreen* screen = NULL;
>
> screen = gtk_window_get_screen(GTK_WINDOW(app->os.window));
>
> > return gdk_screen_get_height(screen);
>
> }
>
> before:
> > void shoes_native_cleanup(shoes_world_t *world)
>
> Open "shoes/app.c"
>
> add:
> > // If fullscreen is true, this will override the set width/height
>
>   if(app->fullscreen == true)
>
>   {
>
>     width = shoes_native_get_resolution_width();
>
>     height = shoes_native_get_resolution_height();
>
>   }
>
> before:
> > app->width = width;
>
> There you have it. That should completely enable full screen implementation
> in windows and linux... Mac is out of luck, because I suck at mac..
>
> ~Enjoy

Reply via email to