graphic programming linux

Programming, for all ages and all languages.
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Re: graphic programming linux

Post 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.
User avatar
mystran
Member
Member
Posts: 670
Joined: Thu Mar 08, 2007 11:08 am

Re: graphic programming linux

Post 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. ;)
The real problem with goto is not with the control transfer, but with environments. Properly tail-recursive closures get both right.
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Re: graphic programming linux

Post 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
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: graphic programming linux

Post 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.)
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Re: graphic programming linux

Post 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. ;)
C8H10N4O2 | #446691 | Trust the nodes.
Osbios
Member
Member
Posts: 116
Joined: Fri Jun 10, 2005 11:00 pm

Re: graphic programming linux

Post by Osbios »

If you like SDL you may have a look at SFML:

http://www.sfml-dev.org/
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Re: graphic programming linux

Post 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
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: graphic programming linux

Post 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.
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Re: graphic programming linux

Post by DeletedAccount »

:) . Way to go :P
Post Reply