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
Showing
- modules/gui/macosx/VLCFSPanelController.h 1 addition, 0 deletionsmodules/gui/macosx/VLCFSPanelController.h
- modules/gui/macosx/VLCFSPanelController.m 1 addition, 0 deletionsmodules/gui/macosx/VLCFSPanelController.m
- modules/gui/macosx/VLCFSPanelDraggableView.m 2 additions, 0 deletionsmodules/gui/macosx/VLCFSPanelDraggableView.m
- modules/gui/macosx/VLCMainWindow.h 1 addition, 0 deletionsmodules/gui/macosx/VLCMainWindow.h
- modules/gui/macosx/VLCMainWindow.m 60 additions, 37 deletionsmodules/gui/macosx/VLCMainWindow.m
- modules/gui/macosx/VLCVideoWindowCommon.m 16 additions, 14 deletionsmodules/gui/macosx/VLCVideoWindowCommon.m
- modules/gui/macosx/VLCVoutView.m 4 additions, 1 deletionmodules/gui/macosx/VLCVoutView.m
Loading