iSqueak Wikki : imageNamePutLength

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Revision [431]

Most recent edit made on 2010-09-12 22:49:21 by JohnMcIntosh

Additions:
See iPhone, but we also update the main window's title.


Deletions:
TBD




Revision [216]

The oldest known version of this page was edited on 2008-10-17 02:26:55 by JohnMcIntosh

sqInt imageNamePutLength(sqInt sqImageNameIndex, sqInt length)


Parms:
sqImageNameIndex pointer to storage for name
length is length of string in bytes
return: NONE, fake return of zero
From: Interpreter primitiveImageName
Why:
set new image name
Responsibility:

MacIntosh
os-9/OSXCarbon
Sets the imageName, the imagename CFString, the shortImageName and the window title.

Cocoa:
TBD

iPhone
Ensure imageNameURL and imageName get new value use image encoding. There is no window title to update
UTF8 of course

Unix
Set imageName and ask display logic to set window title

Windows
Check to see if name is fully qualified, if not fix that, then set window title and imageName.

BUGS
Platforms disagree about if the image name has platform/image encoding
Also if the name is fully qualified or not
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in -0.0895 seconds