Page 2 of 2

Re: graphic programming linux

Posted: Sun Oct 19, 2008 11:45 pm
by pcmattman
Quiz ?
How many parameters does CreateFont take ?
I don't need to know off the top of my head, I have Intellisense :D

But IIRC there's 12 parameters. Or maybe that's CreateFontEx.

Re: graphic programming linux

Posted: Mon Oct 20, 2008 3:54 am
by mystran
SandeepMathew wrote: @mystran : Win32 API does violate an important principle - put less burden on end users short term memory . I find myself refering the Win32.hlp file provided by Borland or msdn freqently , whenever i need to do something and it does reduce my productivity .

Quiz ?
How many parameters does CreateFont take ?
Answer: type CreateFont( into Visual Studio, and IntelliSense will tell you. It'll also tell you the relevant types and formal parameter names. ;)

Re: graphic programming linux

Posted: Wed Oct 22, 2008 9:53 am
by DeletedAccount
Glorification of Visual Studio was not my intention , yes Visual Studio is good 8) and I am not against Microsoft . But during my good old days , i only used the command line tools provided by borland and mingw :) . So it was a bit difficult for me :oops: .

Regards
Sandeep

Re: graphic programming linux

Posted: Thu Oct 23, 2008 2:33 pm
by bewing
It looks like I'm going to be trying to use either wxWidgets -- or if that isn't flexible enough, then GTK -- for my cross-platform-translation project.

(And I always use CreateFontIndirect() -- and I have enough code examples laying around that I almost always can cut-and-paste good code snippets, rather than counting arguments. Yes, the argument lists on the Win32 API stink.)

Re: graphic programming linux

Posted: Thu Oct 23, 2008 5:36 pm
by Alboin
It looks like I'm going to be trying to use either wxWidgets -- or if that isn't flexible enough, then GTK -- for my cross-platform-translation project.
I would check out gtkmm if you're looking for a more 'pure' C++ experience with GTK. ;)

Re: graphic programming linux

Posted: Fri Oct 24, 2008 8:31 am
by Osbios
If you like SDL you may have a look at SFML:

http://www.sfml-dev.org/

Re: graphic programming linux

Posted: Fri Oct 24, 2008 12:02 pm
by DeletedAccount
bewing wrote:It looks like I'm going to be trying to use either wxWidgets -- or if that isn't flexible enough, then GTK -- for my cross-platform-translation project.

(And I always use CreateFontIndirect() -- and I have enough code examples laying around that I almost always can cut-and-paste good code snippets, rather than counting arguments. Yes, the argument lists on the Win32 API stink.)
I haven’t used WxWidgets, but have heard good opinions about it from people who have used it. But I guess gtk is easier to get started. It’s your choice: D

Re: graphic programming linux

Posted: Fri Oct 24, 2008 6:21 pm
by bewing
I tried wxWidgets a bit, but it wasn't flexible enough. Everything I wanted to do was only supported on the Windows port of the software -- which isn't helpful, since I already have a Win version of my software. Child window docking, resizing, autoscrolling, subitem hit testing, and focus redirection were all looking difficult on other platforms.

So I'm looking at GTK and Glade now. Having trouble compiling Glade, though -- too many dependencies, and a really bad configure script. Fortunately, Glade isn't needed at runtime.

Re: graphic programming linux

Posted: Mon Oct 27, 2008 12:05 am
by DeletedAccount
:) . Way to go :P