WaaaghBar

24 - Register with Layout Editor

What is the enhancement in mind? How should it look and feel?

Register it with the layout editor, this will allow for easier alignment of everything else once you have WaaaghBar installed. Would be very helpful in getting it to look proper.

Please provide any additional information below.

User When Change
Daegalus Thu, 09 Oct 2008 03:36:09 Create

You must login to post a comment. Don't have an account? Register to get one!

  • 3 comments
  • Avatar of Elder82 Elder82 Wed, 22 Oct 2008 21:37:37

    ops, sorry... as I said I did not test that :P thanks for fixing it :)

  • Avatar of ChaosInc ChaosInc Thu, 16 Oct 2008 02:15:07

    Elder82

    Your "fix" doesn't work. It screws up the editor when you open it up (no other frames outlines show, options windows are automatically opened and bugged).

    Edit: Found the problem. The frame name doesn't need to be wrapped.

    	-- register with layout manager
    	LayoutEditor.RegisterWindow(
    		"WaaaghBar",                   -- window name internal
    		L"WaaaghBar",                   -- window display name
    		L"WaaaghBar main window",       -- description
    		false, false,                   -- allow resize width, height
    		false,                          -- allow hide
    		nil)                            -- hidden callback
    

    Works now. Thanks.

  • Avatar of Elder82 Elder82 Thu, 09 Oct 2008 10:34:24

    mmm... actually that would be nice :)

    The following code should register the window but should not allow resizing: maybe that's enough? (anyhow, it would still be movable...) but I can't test it now, sorry :(

    	-- register with layout manager
    	LayoutEditor.RegisterWindow(
    		L"WaaaghBar",                   -- window name internal
    		L"WaaaghBar",                   -- window display name
    		L"WaaaghBar main window",       -- description
    		false, false,                   -- allow resize width, height
    		false,                          -- allow hide
    		nil)                            -- hidden callback
    
  • 3 comments

Facts

Last updated on
22 Oct 2008
Reported on
09 Oct 2008
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.

Reported by

Possible assignees

Votes (Total: +1, Average: +1.0)