Generalize the code mapping android key events into pad button bits, add support for keys needed to navigate UI.

This commit is contained in:
Henrik Rydgard committed 2013-07-15 17:37:16 +02:00
1 parent ef98d30c38
commit 7151e4c06e
6 files changed
+99 -69

No files matched your search

+1 -1
View File
@@ -294,7 +294,7 @@ int UITextureButton(UIContext *ctx, int id, const LayoutManager &layout, float w
y += txOffset * 2;
}
ui_draw2d.DrawImage4Grid(drop_shadow, x - dropsize, y, x+w + dropsize, y+h+dropsize*1.5,
alphaMul(color,0.5f), 1.0f);
blackAlpha(0.5f), 1.0f);
ui_draw2d.Flush(true);
}