No. They're in source code in JavaSEPort.java. See this: https://github.com/codenameone/codenameone-skins We do these manually as it's pretty darn simple: - Portrait image - landscape image (just rotated) - Image marking the areas of the screen, buttons etc. in portrait - Image marking the areas of the screen, buttons etc. in landscape Then the properties files indicate the colors used for the markings so we can detect those while loading. Then a lot of small tuneups for font type/size, pixel ratio etc.
On Monday, March 15, 2021 at 8:44:32 AM UTC+2 [email protected] wrote: > The interface only lets you upload one image, but the .skin bundle > contains 4 or 5. > Are the specs for the conversion in some reasonably decidable form > somewhere? > ( btw, I’ve used this trick of encoding information into magic values of > images myself) > > On Sunday, March 14, 2021 at 7:09:54 PM UTC-7 Shai Almog wrote: > >> The numbers translate to the second image. Notice you have a "weird" >> image. It is colored in a way that represents the locations of the screen, >> buttons etc. >> >> On Monday, March 15, 2021 at 1:23:57 AM UTC+2 [email protected] wrote: >> >>> The text properties file seems simple enough, but it doesn't include the >>> numbers I put >>> into the screen editor. On a hunch, I prepared an image with the >>> appropriate dimensions, >>> but that didn't change the outcome. >>> >>> I'm trying to create a skin for a galaxy s10, which is 1080x2134 @ 450 >>> DPI >>> >>> >>> >>> On Saturday, March 13, 2021 at 7:00:40 PM UTC-8 Shai Almog wrote: >>> >>>> As far as I recall it worked and the format hasn't changed >>>> significantly. You can unzip the file and fix it or look at what happened. >>>> >>>> On Saturday, March 13, 2021 at 8:17:38 AM UTC+2 [email protected] >>>> wrote: >>>> >>>>> it runs, but the files it produces don't seem to be compatible; >>>>> parameters are all wonky. >>>>> >>>>> On Friday, March 12, 2021 at 8:41:11 PM UTC-8 Shai Almog wrote: >>>>> >>>>>> I think the old JS build is still here: >>>>>> https://www.codenameone.com/demos/SkinDesigner/ >>>>>> Didn't test if it still works though. >>>>>> >>>>>> On Friday, March 12, 2021 at 8:08:47 PM UTC+2 [email protected] >>>>>> wrote: >>>>>> >>>>>>> The description I saw suggests it is only supported for desktop and >>>>>>> javascript, which I can't build. >>>>>>> >>>>>>> On Thursday, March 11, 2021 at 8:25:54 PM UTC-8 Shai Almog wrote: >>>>>>> >>>>>>>> Sorry I think there was but I don't recall. We ended up just using >>>>>>>> the bash script in the skins project which is much simpler to use >>>>>>>> overall. >>>>>>>> >>>>>>>> On Thursday, March 11, 2021 at 11:25:19 PM UTC+2 [email protected] >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Is there a binary of the skin editor available somewhere? >>>>>>>>> >>>>>>>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9780d3d4-0819-4f02-982d-3391da70616an%40googlegroups.com.
