factored out ChooserDialog into it's own header/source file, and made the title adjustable; added a dummy file for EditFieldWidget (not implemented yet); some other cleanup
svn-id: r5658
This commit is contained in:
parent
cb160cfbf3
commit
dec234c6a5
10 changed files with 205 additions and 67 deletions
|
@ -127,7 +127,7 @@ void NewGui::runLoop()
|
|||
_system->update_screen();
|
||||
|
||||
OSystem::Event event;
|
||||
uint32 time = _system->get_msecs();
|
||||
uint32 time = get_time();
|
||||
|
||||
while (_system->poll_event(&event)) {
|
||||
switch(event.event_code) {
|
||||
|
@ -475,7 +475,7 @@ void NewGui::drawBitmap(uint32 bitmap[8], int x, int y, int16 color)
|
|||
//
|
||||
void NewGui::animateCursor()
|
||||
{
|
||||
int time = _system->get_msecs();
|
||||
int time = get_time();
|
||||
if (time > _cursorAnimateTimer + kCursorAnimateDelay) {
|
||||
const byte colors[4] = { 15, 15, 7, 8 };
|
||||
const byte color = colors[_cursorAnimateCounter];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue