#include "bcresources.h"
#include "bcsignals.h"
#include "bcwindowbase.h"
-#include "colors.h"
+#include "bccolors.h"
#include <string.h>
if( !result && menu_popup->cursor_inside() ) {
int cursor_x, cursor_y;
- menu_popup->get_popup()->get_relative_cursor_xy(cursor_x, cursor_y);
+ menu_popup->get_popup()->get_relative_cursor(cursor_x, cursor_y);
if( cursor_x >= 0 && cursor_x < menu_popup->get_w() &&
cursor_y >= y && cursor_y < y + h ) {
if(menu_bar)
if( !result && menu_popup->cursor_inside() ) {
int cursor_x, cursor_y;
- menu_popup->get_popup()->get_relative_cursor_xy(cursor_x, cursor_y);
+ menu_popup->get_popup()->get_relative_cursor(cursor_x, cursor_y);
if( cursor_x >= 0 && cursor_x < menu_popup->get_w() &&
cursor_y >= y && cursor_y < y + h) {
// Highlight the item