netpanzer-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netPanzer-Devel] Component vs. Button


From: Ivo Danihelka
Subject: [netPanzer-Devel] Component vs. Button
Date: Fri, 17 Oct 2003 03:32:31 +0200

Hi

There appeared bug in VehicleSelectionView,
Vehicles pictures are not shown on buttons.

It is because VehicleSelectionView have addButtonTILBordered() and 
add(AbstractButton) on the some position.

View::doDraw() call drawDefinedButtons()
and then draw all compoments.
Component AbstractButton will overlap the vehicle picture.

It is not so simple, AbstractButton should have red border when it is
active. When I try switch button/component draw order, the red border is
not seen.

I don't known where this bug come in.
I don't known where is a good place to fix it.

-- 
Ivo Danihelka





reply via email to

[Prev in Thread] Current Thread [Next in Thread]