wire up the import from PNG to SHP button
store everything in user directory to not junk up the game and for file permissions on Mac/Linux when installed
This commit is contained in:
@@ -69,7 +69,7 @@ ChromeLayout:
|
||||
mods/ra/chrome/musicplayer.yaml
|
||||
mods/d2k/chrome/tooltips.yaml
|
||||
mods/ra/chrome/assetbrowser.yaml
|
||||
mods/ra/chrome/extractassets.yaml
|
||||
mods/ra/chrome/convertassets.yaml
|
||||
|
||||
Weapons:
|
||||
mods/d2k/weapons/defaults.yaml
|
||||
|
||||
@@ -78,35 +78,38 @@ Background@ASSETBROWSER_BG:
|
||||
Height:25
|
||||
Text:Actions
|
||||
Font:Bold
|
||||
Button@REMAP_BUTTON:
|
||||
Button@EXPORT_BUTTON:
|
||||
X:PARENT_RIGHT - 200
|
||||
Y:PARENT_BOTTOM - 305
|
||||
Y:80
|
||||
Width:160
|
||||
Height:25
|
||||
Text:Change Palette
|
||||
Text:Selected to PNG
|
||||
Font:Bold
|
||||
Disabled: yes
|
||||
Button@IMPORT_BUTTON:
|
||||
X:PARENT_RIGHT - 200
|
||||
Y:PARENT_BOTTOM - 270
|
||||
Width:160
|
||||
Height:25
|
||||
Text:Import from PNG
|
||||
Font:Bold
|
||||
Disabled: yes
|
||||
Button@EXTRACT_BUTTON:
|
||||
X:PARENT_RIGHT - 200
|
||||
Y:PARENT_BOTTOM - 235
|
||||
Y:115
|
||||
Width:160
|
||||
Height:25
|
||||
Text:Extract all to PNG
|
||||
Font:Bold
|
||||
Button@EXPORT_BUTTON:
|
||||
TextField@IMAGE_FILENAME_INPUT:
|
||||
X:PARENT_RIGHT - 200
|
||||
Y:PARENT_BOTTOM - 235
|
||||
Width:100
|
||||
Height:25
|
||||
Text:pixelart.png
|
||||
TextField@IMAGE_SIZE_INPUT:
|
||||
X:PARENT_RIGHT - 90
|
||||
Y:PARENT_BOTTOM - 235
|
||||
Width:50
|
||||
Height:25
|
||||
Text:width
|
||||
Button@IMPORT_BUTTON:
|
||||
X:PARENT_RIGHT - 200
|
||||
Y:PARENT_BOTTOM - 200
|
||||
Width:160
|
||||
Height:25
|
||||
Text:Selected to PNG
|
||||
Text:Import from PNG
|
||||
Font:Bold
|
||||
Button@CLOSE_BUTTON:
|
||||
X:PARENT_RIGHT - 200
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Background@EXTRACT_ASSETS_PANEL:
|
||||
Logic:ExtractGameFilesLogic
|
||||
Background@CONVERT_ASSETS_PANEL:
|
||||
Logic:ConvertGameFilesLogic
|
||||
X:(WINDOW_RIGHT - WIDTH)/2
|
||||
Y:(WINDOW_BOTTOM - HEIGHT)/2
|
||||
Width:500
|
||||
@@ -78,7 +78,7 @@ ChromeLayout:
|
||||
mods/ra/chrome/musicplayer.yaml
|
||||
mods/ra/chrome/tooltips.yaml
|
||||
mods/ra/chrome/assetbrowser.yaml
|
||||
mods/ra/chrome/extractassets.yaml
|
||||
mods/ra/chrome/convertassets.yaml
|
||||
|
||||
Weapons:
|
||||
mods/ra/weapons.yaml
|
||||
|
||||
Reference in New Issue
Block a user