Issue 16: Fixes for CustomItem.java
Status:  Fixed
Owner:
Closed:  Jan 2010
Project Member Reported by bar...@gmail.com, Nov 18, 2009
I fixed a few issues with CustomItem to get it working with my
application:
- paint(Graphics g) now also calls the abstract paint(Graphics g, int w,
int h) function implemented by subclasses
- an appropriate getHeight() is also computed for the content
- isFocusable() returns true
- select() sends a fake keyPressed(-5): it seems to be the most
straightforward way to receive notification for the FIRE button

CustomItem_fix.patch
1021 bytes   View   Download
Nov 18, 2009
Project Member #1 bar...@gmail.com
- and getGameAction(int keycode) now returns
Display.getGameAction(keycode)
Jan 8, 2010
Project Member #2 bar...@gmail.com
Most of fixes has been already made on trunk. Added missing:
- isFocusable()
- select()
Status: Fixed
Labels: Milestone-3.0