Skip to content
  • Daksh Shah's avatar
    Issue 1 and 3 combined · de743a1c
    Daksh Shah authored
    * 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
    de743a1c