+
+ /* Restore interface settings */
+ int i_width = config_GetInt( p_intf, "beos-intf-width" ),
+ i_height = config_GetInt( p_intf, "beos-intf-height" ),
+ i_xpos = config_GetInt( p_intf, "beos-intf-xpos" ),
+ i_ypos = config_GetInt( p_intf, "beos-intf-ypos" );
+ if( i_width && i_height && i_xpos && i_ypos )
+ {
+ /* main window size and position */
+ ResizeTo( i_width, i_height );
+ MoveTo( i_xpos, i_ypos );
+ }
+ i_width = config_GetInt( p_intf, "beos-playlist-width" ),
+ i_height = config_GetInt( p_intf, "beos-playlist-height" ),
+ i_xpos = config_GetInt( p_intf, "beos-playlist-xpos" ),
+ i_ypos = config_GetInt( p_intf, "beos-playlist-ypos" );
+ if( i_width && i_height && i_xpos && i_ypos )
+ {
+ /* playlist window size and position */
+ fPlaylistWindow->ResizeTo( i_width, i_height );
+ fPlaylistWindow->MoveTo( i_xpos, i_ypos );
+ }
+ if( config_GetInt( p_intf, "beos-playlist-show" ) )
+ {
+ /* playlist showing */
+ if( fPlaylistWindow->Lock() )
+ {
+ fPlaylistWindow->Show();
+ fPlaylistWindow->Unlock();
+ }
+ }
+