My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 16: Fixes for CustomItem.java
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  bar...@gmail.com
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

Powered by Google Project Hosting