mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2025-01-15 03:49:56 +00:00
Removes CONST lines that are no longer required. Also:
Removes deprecated Undo File format doc.
This commit is contained in:
parent
db04859087
commit
b753dff066
3 changed files with 0 additions and 69 deletions
|
@ -134,28 +134,6 @@ TYPE newInputBox
|
|||
Sent AS _BYTE
|
||||
END TYPE
|
||||
|
||||
CONST OffsetEditorPID = 1
|
||||
CONST OffsetPreviewPID = 5
|
||||
CONST OffsetWindowLeft = 9
|
||||
CONST OffsetWindowTop = 11
|
||||
CONST OffsetNewControl = 13
|
||||
CONST OffsetNewDataFromEditor = 15
|
||||
CONST OffsetNewDataFromPreview = 17
|
||||
CONST OffsetTotalControlsSelected = 19
|
||||
CONST OffsetFormID = 23
|
||||
CONST OffsetFirstSelectedID = 27
|
||||
CONST OffsetMenuPanelIsON = 31
|
||||
CONST OffsetAutoName = 33
|
||||
CONST OffsetShowPosSize = 35
|
||||
CONST OffsetSnapLines = 37
|
||||
CONST OffsetPropertyChanged = 39
|
||||
CONST OffsetMouseSwapped = 41
|
||||
CONST OffsetDefaultButtonID = 43
|
||||
CONST OffsetOriginalImageWidth = 47
|
||||
CONST OffsetOriginalImageHeight = 49
|
||||
CONST OffsetSelectionRectangle = 51
|
||||
CONST OffsetPropertyValue = 53
|
||||
|
||||
REDIM SHARED PreviewCaptions(0) AS STRING
|
||||
REDIM SHARED PreviewTexts(0) AS STRING
|
||||
REDIM SHARED PreviewMasks(0) AS STRING
|
||||
|
|
|
@ -1,27 +1,5 @@
|
|||
OPTION _EXPLICIT
|
||||
|
||||
CONST OffsetEditorPID = 1
|
||||
CONST OffsetPreviewPID = 5
|
||||
CONST OffsetWindowLeft = 9
|
||||
CONST OffsetWindowTop = 11
|
||||
CONST OffsetNewControl = 13
|
||||
CONST OffsetNewDataFromEditor = 15
|
||||
CONST OffsetNewDataFromPreview = 17
|
||||
CONST OffsetTotalControlsSelected = 19
|
||||
CONST OffsetFormID = 23
|
||||
CONST OffsetFirstSelectedID = 27
|
||||
CONST OffsetMenuPanelIsON = 31
|
||||
CONST OffsetAutoName = 33
|
||||
CONST OffsetShowPosSize = 35
|
||||
CONST OffsetSnapLines = 37
|
||||
CONST OffsetPropertyChanged = 39
|
||||
CONST OffsetMouseSwapped = 41
|
||||
CONST OffsetDefaultButtonID = 43
|
||||
CONST OffsetOriginalImageWidth = 47
|
||||
CONST OffsetOriginalImageHeight = 49
|
||||
CONST OffsetSelectionRectangle = 51
|
||||
CONST OffsetPropertyValue = 53
|
||||
|
||||
DIM SHARED UiEditorPID AS LONG, ExeIcon AS LONG
|
||||
DIM SHARED AutoNameControls AS _BYTE
|
||||
DIM SHARED UndoPointer AS INTEGER, TotalUndoImages AS INTEGER, MidUndo AS _BYTE
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
InForm - GUI library for QB64
|
||||
Fellippe Heitor, 2016-2018 - fellippe@qb64.org - @fellippeheitor
|
||||
https://github.com/FellippeHeitor/InForm
|
||||
-----------------------------------------------------------
|
||||
Below is the binary format for undo/redo data saved to file
|
||||
'InForm/UiEditorUndo.dat'. Each time a new control is created or
|
||||
a new property is changed, the preview saves the current state to
|
||||
this file and adjusts 'total undo images' and sets 'undo pointer'
|
||||
accordingly.
|
||||
|
||||
This format is used in UiEditorPreview's methods:
|
||||
- SaveUndoImage
|
||||
- RestoreUndoImage
|
||||
- RestoreRedoImage
|
||||
-----------------------------------------------------------
|
||||
|
||||
MAX UNDO ENTRIES: 100
|
||||
offset data description
|
||||
1 INTEGER undo pointer
|
||||
3 INTEGER total undo images
|
||||
|
||||
Directory
|
||||
entry size: 8 bytes
|
||||
LONG size&
|
||||
size& backup form data
|
Loading…
Reference in a new issue