Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 251495 - [Mac][Enhancement]Need a public API to unify titlebar and toolbar
Summary: [Mac][Enhancement]Need a public API to unify titlebar and toolbar
Status: RESOLVED DUPLICATE of bug 222859
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-20 22:34 EDT by pei na CLA
Modified: 2009-03-17 11:04 EDT (History)
3 users (show)

See Also:


Attachments
Safari:Unified titlebar and toolbar (24.81 KB, image/tiff)
2008-10-20 22:34 EDT, pei na CLA
no flags Details
eclipse-separated titlebar and toolbar (33.41 KB, image/tiff)
2008-10-20 22:35 EDT, pei na CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description pei na CLA 2008-10-20 22:34:02 EDT
Build ID: I20080617-2000

Steps To Reproduce:
on Mac OS X, there is a new window appearance that draws the window titlebar and toolbar as one unified gradient, with no separation between the two areas. but SWT(carbon) does not support this unified window appearance. (see screenshots)

We need a public API to unify titlebar and toolbar to make GUI more native. 

More information:
By the way,  window attribute kWindowUnifiedTitleAndToolbarAttribute seems not work for SWT. "OS.ChangeWindowAttributes(shellHandle, 0, (1<<7));" does not effect window appearance in SWT.
Comment 1 pei na CLA 2008-10-20 22:34:40 EDT
Created attachment 115652 [details]
Safari:Unified titlebar and toolbar
Comment 2 pei na CLA 2008-10-20 22:35:42 EDT
Created attachment 115653 [details]
eclipse-separated titlebar and toolbar
Comment 3 Kevin Barnes CLA 2009-03-17 11:04:02 EDT

*** This bug has been marked as a duplicate of bug 222859 ***