Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Painter 2.0
Re: Painter 2.0 [message #20111 is a reply to message #20110] Wed, 18 February 2009 16:59 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
luzr wrote on Wed, 18 February 2009 08:47

cbpporter wrote on Wed, 18 February 2009 07:44

Sorry if I'm missing something, but how can you use Painter when X libs are not available, if Painter inherits from Draw and Draw can't be built without those libs.



That is why we need DrawCore.... We need abstract "Draw" with no Xlib dependencies.

The, in "Draw" there will be platform Draw derived class that is then used in GUI widgets.

Mirek



Thinking about the issue more, I guess the final solution will to move "GuiDraw" from Draw to CtrlCore, leaving Draw independent from X11 libs.

Of course, we will still have to handle text metrics - but fontconfig and freetype should fill the gap, I hope...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ide: Compare with file, SVN history
Next Topic: MT
Goto Forum:
  


Current Time: Fri May 10 17:44:14 CEST 2024

Total time taken to generate the page: 0.02351 seconds