Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SaveImage("Project:Icon", myicon) sets xCodea's icon #3

Open
elian opened this issue Mar 28, 2014 · 2 comments
Open

SaveImage("Project:Icon", myicon) sets xCodea's icon #3

elian opened this issue Mar 28, 2014 · 2 comments

Comments

@elian
Copy link

elian commented Mar 28, 2014

Hi,

During testing of xCodea with one of my projects, I observd the following differences in behaviour of xCodea compared to the project run in Codea:

Note: I am using LDT for project edit on OS X 10.9.2 and xCodea runs on an iPad2.

  1. Using the 'SaveImage("Project:Icon", myicon)' to set the icon of the Project actually is setting 'xCodea' Project's icon, not the tested Project's one.

Thanks,
Elian Epstan

@lowne
Copy link
Owner

lowne commented Mar 28, 2014

I found no "documentation" (official or otherwise) of the following suggestion, but it seems to work for me (Codea 2.0): SaveImage("Documents:NameOfProject.codea/Icon",myIcon).
If confirmed to work, I can put a workaround in xCodea to do the conversion automatically for the "Project:Icon" idiom.

@elian
Copy link
Author

elian commented Mar 30, 2014

Hi,

I tested the implementation in Codea2.0 and it works fine. In my understanding, Codea looks for an image file called Icon.png in each project's folder an uses this as the internal project icon. I tested this by copying the file in another project's folder on my iPad.

Thanks,
Elian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants