Results 1 to 3 of 3

Thread: CL_Menubar and CL_Combobox on SVN

  1. #1
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default CL_Menubar and CL_Combobox on SVN

    I have attempted to fix these, to the best of my ability.

    Menu's now open and close correctly

    However, the messaging does not seem to work at the moment.

    As, a hack, I added to
    void CL_MenuModalLoop:rocess_message(CL_GUIMessage_Input message_input)

    these lines

    Code:
    	// FIXME: This fixes the menu for system WM - but not texture wm and combobox- but why?
    	if (!message_input.is_consumed())
    		dispatch_message(message_input);
    These lines should not be there ...

    EDIT:

    My patch has the following mistake (in 2 places):

    Code:
    - end();
    - return true;
    + message.set_target(NULL);
    + message.set_consumed();
    + end(); // This may delete "this"
    + return false;
    end() does not delete this - So the message does not need cleared.

    Sorry, I can't fix this at the moment
    Last edited by rombust; 08-21-2009 at 11:47 AM. Reason: bug

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    The menus are working again for the GUI System WM

    But for some reason the GUI Texture WM mouse position offset is incorrect when selecting menu items.

  3. #3
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    554

    Default

    Great work, Rombust

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •