fix bug with >1 column menus

This commit is contained in:
rathnor 2004-08-29 14:37:52 +00:00
parent ef9565efd8
commit e41bc330b4
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,8 @@
(Format: Year/Month/Day)
Changes for 0.9.10:
*04/08/29:
* Fix rendering bug when revisiting >1 column menus (Simon)
FbTk/Menu.cc
* Fix crash when extramenus not attached to windowmenu (Simon)
- and add checking that windowmenu file exists and sorta parses
Window.cc FbTk/Menu.hh MenuCreator.hh/cc

View file

@ -22,7 +22,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: Menu.cc,v 1.75 2004/08/29 08:33:13 rathnor Exp $
// $Id: Menu.cc,v 1.76 2004/08/29 14:37:52 rathnor Exp $
//use GNU extensions
#ifndef _GNU_SOURCE
@ -947,7 +947,7 @@ int Menu::drawItem(unsigned int index, bool clear, bool render_trans,
if (render_trans) {
renderTransp(item_x, item_y,
width(), theme().itemHeight());
menu.item_w, theme().itemHeight());
}
//!!
//!! TODO: Move this out to MenuItem