Update : using viewtypes to be converted into views in bjl files
Some bugs were fixed and the use of the text color and background color have been reviewed.
In this update the shapes panel has undergone some changes.
If you create sub folders in the shapes folder then the content of these sub folders will be present in the tab page that gets the same name as the sub folder.
Let’s look at the folder structure once again:
C:\Users\<your username>\AppData\Roaming\storyboard_cards_30 contains 4 sub folders: cards, files, layouts, shapes.
View attachment 149566
cards: default folder for every card that you save.
files: default folder for every snapshot that you save.
layouts: the “card” shapes need to be copied in this folder!
shapes: the shapes images need to be copied in this folder or in its sub folder(s)! An example:
View attachment 149567
And this is how it looks like in the Storyboard card application:
View attachment 149568
You can use any name you like for a sub folder as long as it’s meaningful and not too long.
In the views sub folder you can find shape images that represent a view type.
View attachment 149569 View attachment 149570
If you specify the correct view type in the properties panel then that saved card with the attached shape(s) can be used to convert to a *.bjl file.
For this you can use the Layoutconverter application (see below).
You can download the zip-file with an example of the shapes folder and sub folders via this link:
shapes_folders
You can find the source code of the Storyboard cards application in the attachments.
The new Layoutconverter application.
This application replaces the testproject: testenvironment47.
Here is how it looks:
View attachment 149572
Click on the Source button to open a Storyboard cards JSON file.
Other JSON files will not be accepted!
If the JSON structure of the file is displayed then you can click on the Start button to start the conversion process.
If all went well then you get a message when the process is completed. The path and filenames are displayed in the labels.
The generated *.bjl file (see bottom label) can be loaded into the Visual Designer of the B4J IDE. Only B4J views and some B4X views are supported.
You can find the source code of the Layoutconverter application in the attachments.