The new format is not compatible with old one.
But i think it should be save for future versions.

Regards,
Mischa
UPDATE
---------
-Dynamic include-source creation (modifing)
"Generate full source" will create both needed sources. Include-source will be
generated with the content this design need, only.
"Generate include source only" will create include, the same way, only for the
actual design.
When you save design, the include-source will automatically modified. If other
designs exist in the same path, the missing content will only be added and
nothing will be removed!
-Object-Manager window and learner window have close buttons now
Yes, I understand that.Mischa wrote:@gnozal
Not a good idea, i think, cause then i have to analyse full source
to recreate it for the designer.
The concept of gDesign is, that you are able to edit your design again
and again, every time.
Download: http://www.thinkrelative.de/gdesign.zip-Autosize function enhanced
Now 8 different states.
(New: auto border orientation)
The old relative function buttons (X,Y,W,H)
now called RX,RY,RW,RH
I have made a experimentel ProcedureMischa wrote: ts-soft has given me the tip to export gdf-file to Data inside
DataSection. (Data.l ... , ... , ...)
This would be easier to export/import.
What Do you think about that?
Regards,
Mischa
Code: Select all
Procedure gdf2data(gdf_file.s, data_file.s)
Protected gdf.l, length.l, *mem.l, file.l, spalte.l, I.l
gdf = ReadFile(#PB_Any, gdf_file)
If gdf = #False : ProcedureReturn #False : EndIf
UseFile(gdf)
length = Lof()
*mem = AllocateMemory(Lof())
ReadData(*mem, length)
CloseFile(gdf)
file = CreateFile(#PB_Any, data_file)
If file = #False
FreeMemory(*mem)
ProcedureReturn #False
EndIf
WriteStringN("DataSection")
WriteStringN(" gadgets:")
WriteString(" data.b ")
For I = 1 To length - 1
If I % 10 = 0
WriteStringN("")
WriteString(" Data.b " + Str(PeekB(*mem)) + ",")
Else
spalte + 1
If spalte = 9
WriteString(Str(PeekB(*mem)))
spalte = 0
Else
WriteString(Str(PeekB(*mem)) + ",")
EndIf
EndIf
*mem + 1
Next
WriteStringN(Str(PeekB(*mem)))
WriteStringN("EndDataSection")
CloseFile(file)
ProcedureReturn #True
EndProcedure
It's interesting, but it's not what I meant : it's still the gdf but in another form. I'd like real pb code.Mischa wrote:@gnozal, @Lars
ts-soft has given me the tip to export gdf-file to Data inside
DataSection. (Data.l ... , ... , ...)
This would be easier to export/import.
What Do you think about that?
Regards,
Mischa
Hm. I'm not sure, if i understand correct.E.g.: Imagine you are already developping an application which has
multiple tabs. Now you want to add a tab with new controlls, and you
would like to design this part in GD. Beeing able to directly retreive code
instead of a binary design makes this possible in the first place.