+ /* load icons */
+ XpmReadFileToImage( p_display, DATA_PATH "/mozilla/play.xpm",
+ &p_btnPlay, NULL, NULL);
+ p_plugin->i_control_height = __MAX( p_plugin->i_control_height,
+ p_btnPlay->height );
+ XpmReadFileToImage( p_display, DATA_PATH "/mozilla/pause.xpm",
+ &p_btnPause, NULL, NULL);
+ p_plugin->i_control_height = __MAX( p_plugin->i_control_height,
+ p_btnPause->height );
+ XpmReadFileToImage( p_display, DATA_PATH "/mozilla/stop.xpm",
+ &p_btnStop, NULL, NULL );
+ p_plugin->i_control_height = __MAX( p_plugin->i_control_height,
+ p_btnStop->height );
+ XpmReadFileToImage( p_display, DATA_PATH "/mozilla/time_line.xpm",
+ &p_timeline, NULL, NULL);
+ p_plugin->i_control_height = __MAX( p_plugin->i_control_height,
+ p_timeline->height );
+ XpmReadFileToImage( p_display, DATA_PATH "/mozilla/time_icon.xpm",
+ &p_btnTime, NULL, NULL);
+ p_plugin->i_control_height = __MAX( p_plugin->i_control_height,
+ p_btnTime->height );
+ XpmReadFileToImage( p_display, DATA_PATH "/mozilla/fullscreen.xpm",
+ &p_btnFullscreen, NULL, NULL);
+ p_plugin->i_control_height = __MAX( p_plugin->i_control_height,
+ p_btnFullscreen->height);
+ XpmReadFileToImage( p_display, DATA_PATH "/mozilla/volume_max.xpm",
+ &p_btnMute, NULL, NULL);
+ p_plugin->i_control_height = __MAX( p_plugin->i_control_height,
+ p_btnMute->height);
+ XpmReadFileToImage( p_display, DATA_PATH "/mozilla/volume_mute.xpm",
+ &p_btnUnmute, NULL, NULL);
+ p_plugin->i_control_height = __MAX( p_plugin->i_control_height,
+ p_btnUnmute->height);
+
+ if( !p_btnPlay || !p_btnPause || !p_btnStop || !p_timeline ||
+ !p_btnTime || !p_btnFullscreen || !p_btnMute || !p_btnUnmute )
+ fprintf(stderr, "Error: some button images not found in %s\n", DATA_PATH );
+