mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-28 08:39:34 +00:00
Merge branch 'development' into defineconsolemethod
Conflicts: Engine/source/materials/materialDefinition.cpp
This commit is contained in:
commit
ae284a89ec
129 changed files with 3742 additions and 1038 deletions
|
|
@ -133,6 +133,7 @@ void MenuBar::attachToCanvas(GuiCanvas *owner, S32 pos)
|
|||
}
|
||||
|
||||
HWND hWindow = pWindow->getHWND();
|
||||
SetMenu(hWindow, hWindowMenu);
|
||||
DrawMenuBar(hWindow);
|
||||
|
||||
}
|
||||
|
|
@ -165,6 +166,7 @@ void MenuBar::removeFromCanvas()
|
|||
}
|
||||
|
||||
HWND hWindow = pWindow->getHWND();
|
||||
SetMenu(hWindow, NULL);
|
||||
DrawMenuBar(hWindow);
|
||||
|
||||
mCanvas = NULL;
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ void Platform::fileToLocalTime(const FileTime & ft, LocalTime * lt)
|
|||
lt->sec = time->wSecond;
|
||||
lt->min = time->wMinute;
|
||||
lt->hour = time->wHour;
|
||||
lt->month = time->wMonth;
|
||||
lt->month = time->wMonth - 1;
|
||||
lt->monthday = time->wDay;
|
||||
lt->weekday = time->wDayOfWeek;
|
||||
lt->year = (time->wYear < 1900) ? 1900 : (time->wYear - 1900);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue