mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
WAGE: Reenabled 9-patch border drawing and added default border images
This commit is contained in:
parent
1dd056b689
commit
6c36f4b550
BIN
devtools/create_wage/wage_border_act.bmp
Normal file
BIN
devtools/create_wage/wage_border_act.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.7 KiB |
BIN
devtools/create_wage/wage_border_inact.bmp
Normal file
BIN
devtools/create_wage/wage_border_inact.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.4 KiB |
@ -309,8 +309,8 @@ void Gui::executeMenuCommand(int action, Common::String &text) {
|
||||
|
||||
void Gui::loadBorders() {
|
||||
// Do not load borders for now
|
||||
//loadBorder(_sceneWindow, "border_inac.bmp", false);
|
||||
//loadBorder(_sceneWindow, "border_act.bmp", true);
|
||||
loadBorder(_sceneWindow, "wage_border_inact.bmp", false);
|
||||
loadBorder(_sceneWindow, "wage_border_act.bmp", true);
|
||||
}
|
||||
|
||||
void Gui::loadBorder(Graphics::MacWindow *target, Common::String filename, bool active) {
|
||||
@ -325,7 +325,7 @@ void Gui::loadBorder(Graphics::MacWindow *target, Common::String filename, bool
|
||||
Common::SeekableReadStream *stream = borderfile.readStream(borderfile.size());
|
||||
if (stream) {
|
||||
|
||||
target->loadBorder(*stream, active, 10, 10, 1, 1);
|
||||
target->loadBorder(*stream, active, 18, 18, 18, 18);
|
||||
|
||||
borderfile.close();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user