Comments (15)
It should be possible, it might make sense to add an option to enable it. If you implement it please submit a patch request.
from inappstorewindow.
I'll look into this, since I need it for an app I'm building. I scoped it a while back, but wasn't sure where the mask for full screen windows gets set.
from inappstorewindow.
After thinking about this more I don't think this is applicable to INAppStoreWindow because the titlebar is hidden in fullscreen mode. Your best bet would probably be to put black rounded corners above your content in the apps main view.
from inappstorewindow.
That seems like it might make the transition look odd.
Also, the titlebar can be visible in fullscreen mode (via the option).
from inappstorewindow.
What is the option?
from inappstorewindow.
https://github.com/indragiek/INAppStoreWindow/blob/master/INAppStoreWindow.m#L235
from inappstorewindow.
Oh right, sorry I haven't used that one in an app yet so it slipped my mind. I'll take a look.
from inappstorewindow.
I think this would be great for consistency with other fullscreen OS X apps. I don't even think showing/not showing rounded corners should be an option, rounded should be the default. Check out Xcode's full screen mode, it has very subtly rounded top corners (2-3px corner radius).
from inappstorewindow.
The corners in fullscreen were rounded, however the color behind them was white so they blended in and looked square. I added code to draw a black rect behind the titlebar in fullscreen mode however there is an issue with this where the black rect displays until the window has fully exited fullscreen. I'll investigate and think about a better solution to this issue.
from inappstorewindow.
Shouldn't this issue be closed? It looks to me that the issue has already been resolved.
from inappstorewindow.
As of the latest commit, the corners are still square in fullscreen mode, so I think this should stay open.
from inappstorewindow.
Are you sure? Last I checked they are rounded.
from inappstorewindow.
You're right, the sample app has rounded corners in full screen. I thought they were square because I was checking it in a different app that uses INAppStoreWindow
with custom titlebar drawing. Closing.
from inappstorewindow.
IIRC 4de7875 (one of the commits you just merged) fixed this for custom drawn title bars.
from inappstorewindow.
Ah ok, thanks for that!
from inappstorewindow.
Related Issues (20)
- when click minButton to hidden the window, then reopen,move mouse to traffic button and remove mouse, the traffic button always show RollOverImage
- Exit full screen mode in Yosemite HOT 7
- dragging to another virtual desktop is not working
- window frame.height grows from start to start if autosave name is not empty, OS X 10.9.3
- README needs update
- setMovable flag doesn't work
- Box behind title Xcode 6.1 GM HOT 2
- Yosemite double click title bar to maximum window not working HOT 1
- Cocoa pod can't find INAppStoreWindow 1.5
- bad window button positioning on Yosemite HOT 4
- TitleTextColor changes only the Window Title !
- bad way to detect yosemite
- crash, creating window from code inherit INAppStoreWindow 10.10.1 HOT 3
- Window widgets are positioned incorrectly in document-based application when showing sheets HOT 2
- Graphite system appearance appears to be ignored
- Where do I start HOT 1
- AppleMiniaturizeOnDoubleClick Isn't working HOT 2
- Window flicker when drag in the original titlebar area and move to top of the screen
- Traffic light buttons HOT 2
- Every Time At the time of Launch : NSWindow warning: adding an unknown subview: HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inappstorewindow.