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 » Layout designer .usc scripts now able to get images from .iml files
Layout designer .usc scripts now able to get images from .iml files [message #5540] Mon, 02 October 2006 00:18 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
- just specify image in format "package:file:image_id", like

	Paint(w) {
		w.DrawImage(0, 0, "CtrlLib:Ctrl.iml:open");
	}


(Note: original way how to get images is limited to CtrlLib only, format is "CtrlLib::open").

Mirek
Re: Layout designer .usc scripts now able to get images from .iml files [message #5866 is a reply to message #5540] Sat, 21 October 2006 13:45 Go to previous messageGo to next message
andrei-catalin is currently offline  andrei-catalin
Messages: 62
Registered: May 2006
Location: Romania
Member
I have tried this method in UscCtrl. The image appears in Layout Editor without yellow color.

In designer:
index.php?t=getfile&id=303&private=0

In exe:
index.php?t=getfile&id=304&private=0

(610-dev2, Win32)
  • Attachment: image2.png
    (Size: 2.91KB, Downloaded 2213 times)
Re: Layout designer .usc scripts now able to get images from .iml files [message #5868 is a reply to message #5866] Sat, 21 October 2006 15:54 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Oops. Obviously. This is a "recolor" feature of chameleon, replacing colors of Image with schema colors. However, it is just option, but hardcoded in Laydes - something to fix.
Re: Layout designer .usc scripts now able to get images from .iml files [message #5871 is a reply to message #5868] Sat, 21 October 2006 16:56 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
OK, recolor will now be active only if there is '*' at the end of string (like w.DrawImage(0, 0, "CtrlLib:Ctrl:exclamation*")), otherwise it is not active (and yellow color will stay there Wink

Mirek
Re: Layout designer .usc scripts now able to get images from .iml files [message #5881 is a reply to message #5871] Sun, 22 October 2006 19:06 Go to previous message
andrei-catalin is currently offline  andrei-catalin
Messages: 62
Registered: May 2006
Location: Romania
Member
Thank for your promptitude. I will try it in the next release.

Andrei
Previous Topic: Toolbar buttons chameleonized...
Next Topic: Draw tutorial
Goto Forum:
  


Current Time: Thu Apr 18 19:09:35 CEST 2024

Total time taken to generate the page: 0.02133 seconds