finish world initialization, set up init on startup and on shutdown, move all models to main directory
This commit is contained in:
36
internal/foundry/models/db/notes.go
Normal file
36
internal/foundry/models/db/notes.go
Normal file
@@ -0,0 +1,36 @@
|
||||
package db
|
||||
|
||||
type Note struct {
|
||||
ID string
|
||||
|
||||
EntryID string
|
||||
PageID string
|
||||
Text string
|
||||
X float64
|
||||
Y float64
|
||||
Global bool
|
||||
IconSize int
|
||||
Texture NoteTexture
|
||||
FontFamily string
|
||||
FontSize int
|
||||
TextColor string
|
||||
TextAnchor int
|
||||
Elevation int
|
||||
Sort int
|
||||
}
|
||||
|
||||
type NoteTexture struct {
|
||||
ID uint
|
||||
|
||||
Tint string
|
||||
Src string
|
||||
ScaleX int
|
||||
ScaleY int
|
||||
OffsetX float64
|
||||
OffsetY float64
|
||||
Rotation int
|
||||
AnchorX float64
|
||||
AnchorY float64
|
||||
Fit string
|
||||
AlphaThreshold int
|
||||
}
|
||||
Reference in New Issue
Block a user