61
General discussions / Re: Developing a code edit box with sfml
« on: August 27, 2014, 09:05:05 pm »Thanks for the answer. The control I'm looking for strives for flexibility and might have features similar to sublime text's one (i.e. multiple carets, drawings here and there, etc...) so implementing all those features as hacks for existing controls sounds like suicide to me (maybe I'm wrong though). I thought of Cairo in the first place since GTK+ (newer versions) uses it, but it seems porting to win32 isn't that great and I would have to rewrite the controls in something that works on Windows.
I'm a newbie in this field though and I might be getting something wrong.
Well as Laurent suggested, definitely sounds like a job for GTK to me. Actually developing a fully working flexible GUI (like in Sublime text) with SFML sounds like suicide to me. Thankfully we have Gwen, TGui and SFGui so if you really want to take the SFML road take a look at those. I don't really understand what you mean with porting to Windows. Gimp is built on GTK and works great on Windows?
Believe me, building a decent Gui with 2d library is pain in the ass. That's why they usually tend to be projects on their own, like the ones I mentioned.