Closed Bug 338326 Opened 19 years ago Closed 19 years ago

[BeOS] Implement HideWindowChrome

Categories

(Core Graveyard :: Widget: BeOS, defect)

x86
BeOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sergei_d, Assigned: sergei_d)

Details

Attachments

(1 file)

NS_IMETHODIMP nsBaseWidget::HideWindowChrome(PRBool aShouldHide) to be implemented. In our case it should switch to B_NO_BORDER_WINDOW_LOOK (or maybe to B_BORDERED_WINDOW_LOOK for safety? very thin borders but user can move it though), and back
Attached patch patchSplinter Review
r? I tried also B_BORDERED, but it also didn't allow to move window. So following strictly function description - hiding borders totally
Attachment #222398 - Flags: review?(thesuckiestemail)
Lottle comment. If you noticed, I didn't change StandardWindowCreate in nsPopupWindow.cpp. It means, that even if HideChrome is called for popup (inspite i don't think it will happen) it just changes look to B_NO_BORDER, which is default (and only expected) popup look. So in reality it changes nothing.
Attachment #222398 - Flags: review?(thesuckiestemail) → review+
Checking in mozilla/widget/src/beos/nsWindow.cpp; /cvsroot/mozilla/widget/src/beos/nsWindow.cpp,v <-- nsWindow.cpp new revision: 1.125; previous revision: 1.124 done Checking in mozilla/widget/src/beos/nsWindow.h; /cvsroot/mozilla/widget/src/beos/nsWindow.h,v <-- nsWindow.h new revision: 1.56; previous revision: 1.55 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: