Skip to content
Snippets Groups Projects
Commit de743a1c authored by Daksh Shah's avatar Daksh Shah
Browse files

Issue 1 and 3 combined

* Currently it only works when video is played IN the mainWindow
* [[VLCMain sharedInstance] mainWindow].titlebarAppearsTransparent = true; this lines makes the background of titleBar (white->transparent)
* self.styleMask |= NSFullSizeContentViewWindowMask; is responsible to make the titleBar be inside the window than a seperate bar
* Replaced [[VLCMain sharedInstance] mainWindow] by self in VLCMainWindow.m
* [[[[self standardWindowButton:NSWindowCloseButton] superview] animator] setAlphaValue:1]; apparently does not work in VLCMainWindow to get the title to come back when playlist/ML is displayed. Instead of `self` [[VLCMain sharedInstance] mainWindow] solves the problem.... I am not sure why though. Can someone please explain?
* Referred to https://github.com/etoile/EtoileUI/blob/master/Source/NSWindow%2BEtoile.m#L20 for the normal titleBar style
* Now the controlsBar is shown in Playlist/ML view but hides during videoPlayback
parent 62ec62cb
No related branches found
Tags 3.1.7
Loading
Loading
  • David @dfuhrmann

    mentioned in issue #3

    ·

    mentioned in issue #3

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment