New update.
Added a name to the filter.
The names comes from an other table.
In fact it is an asteroid name.
Added a button form filling wiith value -1
Added an other button 'X' for filling the editor with the value of your choice.
Added a Diaporama
Removed the "Rename" button.
The interface would need a toolbar but I don't know to draw nice icons.
That would reduce the dialogbox size.
Into the file "Data.c" it is possible to replace the datas of
PGM_FILTERS RescueFilters[] = {
{1 ,0,"(None)","(None)","(No Comment)",9,0,1,0,3,0,1,0,0,0,0,0,0,0,0,0,1,0,1},
{2 ,0,"(None)","(None)","(No Comment)",9,0,1,0,3,0,1,0,0,0,0,0,0,0,0,1,1,0,1},
{3 ,0,"(None)","(None)","(No Comment)",9,0,1,0,3,0,1,0,0,0,0,0,0,0,0,1,1,1,1},
{4 ,0,"(None)","(None)","(No Comment)",9,0,1,0,3,0,1,0,0,0,0,0,0,0,0,1,-1,1,4},
with the contents of the file "$Export Filters$.c" without making any change.
Like this you can give some one an application with your own filters included as model.
You users wont't be able to delete them.
In the previous versions the "$Export Filters$.c" file had each record entirely filled.
Now only the values corresponding to the real size of the filter are written.
I explain.
The full size of a filter is a matrix of 29x29 that gives 841 integer values.
If your filter is 3x3, 9 values, the 382 values after the nine first are written using '0'!
Today, only the needed values are written.
An other thing to change would be if the last item of the matrix is "0", it is not useful to write it, the compiler will do the job.
There are 100 cases like this.
The binaries are at :
https://www.mediafire.com/file/iofnfo8xr4af8a2/Cfe-Setup.exe/fileThe full project is at :
https://www.mediafire.com/file/dp4ktqlxk1qq6h3/Cfe.7z/fileThat's all for today