[interfacekit] Re: private window_look, window_feel entries

Hi guys,

        I am *very* interested in these findings. I am even more
interested what you think is their significance.

        Let's start with window_feel values. This is what I think
about them:

1) window_feel(1024) - Desktop window feel.
        This I understand - it is always the backmost window. For the
new window manager which I plan to commit shortly I do have support for these
kind of windows - I called it B_SYSTEM_LAST.
2) window_feel(1025) - you say kMenuWindow.
        This kind of window, appears before all other windows, even before
B_MODAL_ALL_WINDOW_FEEL (AFAIK). Now, all menu windows automatically disappear
when loosing the "Active" state (i suspect on 'WindowActivated(false)').
I think this is handled by BMenu class... (can't look for that now)
        If the above is correct, then we're OK, as the new window manager
also has support for B_SYSTEM_FIRST kind of windows. Those, as you suspect
already, appear before B_MODAL_ALL_WINDOW_FEEL windows.
3) window_feel(1026) - kWindowScreen
        It's too early to talk about this.


Now, about window_look values: 1) kPrivateDesktopWindowLook = 4 I don't get this one. what wrong with B_NO_BORDER_WINDOW_LOOK? 2) (window_look?) 25 => Canna method addon and Bottomline Window in input_server Can you explain this window's behavior? Anyone has a screenshot?

        And finally, special flags:
1) B_WORKSPACES_WINDOW (0x8000)
        Can anyone explain the use of this flag? Why is it needed?


What do you think?


Thanks, Adi.


> Hi all, > > Stefano and I were talking about adding private entries for > window_look and window_feel enum. > In fact, we found some not documented ones in several places : > > * 25 => Canna method addon and Bottomline Window in input_server > * kWindowScreen = 1026 in OpenTracker > * kPrivateDesktopWindowLook = 4 in OpenTracker > * kPrivateDesktopWindowFeel = window_feel(1024) in OpenTracker > * kMenuWindow= 1025 in Menu classes > > The idea would be to add them somewhere in a private header, possibly > interface/WindowPrivate.h > > Definitions would be as written in OpenTracker : > const window_look kPrivateDesktopWindowLook = window_look(4); > const window_feel kPrivateDesktopWindowFeel = window_feel(1024);

> Thoughts ?
> Bye,
> Jérôme

> Looks good to me!
> There is also the private B_WORKSPACES_WINDOW (0x8000) flag as used by
> the Workspaces window - that one should probably in there as well.


Other related posts: