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 » U++ Library support » U++ Core » GetSmartTextSize() function move/factorisation proposal
GetSmartTextSize() function move/factorisation proposal [message #41189] Sat, 09 November 2013 23:22 Go to next message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi,

GetSmartTextSize(), GetSmartTextHeight() and DrawSmartText() could be moved from CtrlLib to somewhere else ( maybe RichText package ) not dependent on CtrlLib so they can be used in Draw dependent apps only.

Almost the exact same methods already exist in RichText package in the following methods:
QTFDisplayCls::GetStdSize()
QTFDisplayCls::Paint()
So these methods could probably also profit from a factorization

[Updated on: Sat, 09 November 2013 23:22]

Report message to a moderator

Re: GetSmartTextSize() function move/factorisation proposal [message #41229 is a reply to message #41189] Sat, 16 November 2013 23:13 Go to previous message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
+1
Previous Topic: how to just get var from parent Layout class?
Next Topic: File encoding error in last svn version 6569
Goto Forum:
  


Current Time: Thu Apr 18 23:58:04 CEST 2024

Total time taken to generate the page: 0.01948 seconds