Changes between Version 11 and Version 12 of MEDIA_FRAME_CONTROLS_R0


Ignore:
Timestamp:
05/08/09 15:39:34 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MEDIA_FRAME_CONTROLS_R0

    v11 v12  
    2828 * Create controllers for media manipulation. 
    2929  * play, stop and pause. 
    30   * The pause button should always be active except for when the media is stopped. 
     30  * "Buttons" can be active and not active - if a button is not active its SceneElement's color is more transparent than the colors of the active buttons. 
     31  * The pause button should always be active. 
    3132  * The stop button should be active only when the media is playing. 
    32   * The start button should be active only when the media is stopped. 
    33   * Clicking the start button when the media is stopped will start the playback. 
     33  * The start button should be active only when the media is stopped or paused. 
     34  * Clicking the start button when the media is stopped will start the playback from the beginning no matter the media is stopped or paused.  
    3435  * Clicking the stop button when the media is started will stop the playback and set the time of media to the beginning. 
    35   * Clicking the pause button will pause the media. One should click the same button to resume the media. 
    36  * Allow controllers to communicate with a frame's content 
     36  * Clicking the pause button will pause the media. One should click the same button to resume the media. It they click the play button instead the media will start from the beginning. 
     37 * Allow controllers to communicate with a frame's content. 
    3738 * Think about how controllers can be skinned 
    3839 * Notes: 
     
    7273 * In order for these to be skinable we should define tool-tip and icon in a SkinPart. 
    7374  * They will be defined in the three implementing classes. Icons should be put in the same module as the views. 
     75 * The MediaManipulationViews will also determine whether they should be active or not depending on media's playback. 
    7476 * "Buttons" should be arranged correspondingly in the bottom left corner of the frame in the same order as described above. 
    7577 * Every icon should be scaled to look nicely inside the frame. 
    7678 * Media controls will be zoom-able along with the media frame but should not change their size as media frame's size changes. 
    77   * In order to do so, make the scene element of the MediaContentView a composite one and add the media scene element as well as the scene elements of the controls. 
     79  * In order to do so, make the scene element of the MediaContentView a composite one and add the media scene element as well as the scene elements of the controls to it. Every descendant of the MediaContentView (VideoContentView and AudioContentView for the time being) will provide a media element instead of just an element. Whether the media is playing or not will be kept in a value property inside the MediaContentView. This is needed for the ManipulationViews to update their state and appearance correspondingly (alpha values of colors for their scene elements). 
    7880 * The changing of the alpha values of the scene elements will be done by a MediaManipulationLogic that is common both for Audio and Video. 
    7981 * The managing of the media playback will be done by two other logics - AudioLogic and VideoLogic: