/haiku/src/preferences/media/ |
H A D | MediaIcons.h | e7b99741803a2adf01f19b0fa59ac55b7bb45b19 Mon Nov 15 08:45:11 UTC 2010 Alex Wilson <yourpalal2@gmail.com> In Media preflet: * Refactor MediaListItem into four/five classes: * MediaListItem : abstract base class which provides an interface for MediaWindow and MediaListItem subclasses * NodeListItem : list item for media nodes * DeviceListItem : list item for audio/video settings (device selection) * MixerListItem : list item for the audio-mixer * MediaListItem::Renderer : does the drawing of MediaListItems, which supply render paramaters via a 'SetRenderParamaters()' method. * Comparison of MediaListItems (for sorting) is done via double-dispatch * MediaListItem provides a pure virtual AlterWindow() method, which removes the burden of distinguishing between different behaviours from MediaWindow. * Add methods to MediaWindow for the MediaListItems to call in their AlterWindow() implementation, eg. SelectNode() * Seperate code into these methods, as well as a few private utility methods. * Add a RAII-style 'SmartNode' nested class for MediaWindow, which handles watching/unwatching allocating/deallocating of media_nodes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
H A D | MediaIcons.cpp | e7b99741803a2adf01f19b0fa59ac55b7bb45b19 Mon Nov 15 08:45:11 UTC 2010 Alex Wilson <yourpalal2@gmail.com> In Media preflet: * Refactor MediaListItem into four/five classes: * MediaListItem : abstract base class which provides an interface for MediaWindow and MediaListItem subclasses * NodeListItem : list item for media nodes * DeviceListItem : list item for audio/video settings (device selection) * MixerListItem : list item for the audio-mixer * MediaListItem::Renderer : does the drawing of MediaListItems, which supply render paramaters via a 'SetRenderParamaters()' method. * Comparison of MediaListItems (for sorting) is done via double-dispatch * MediaListItem provides a pure virtual AlterWindow() method, which removes the burden of distinguishing between different behaviours from MediaWindow. * Add methods to MediaWindow for the MediaListItems to call in their AlterWindow() implementation, eg. SelectNode() * Seperate code into these methods, as well as a few private utility methods. * Add a RAII-style 'SmartNode' nested class for MediaWindow, which handles watching/unwatching allocating/deallocating of media_nodes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
H A D | Media.h | e7b99741803a2adf01f19b0fa59ac55b7bb45b19 Mon Nov 15 08:45:11 UTC 2010 Alex Wilson <yourpalal2@gmail.com> In Media preflet: * Refactor MediaListItem into four/five classes: * MediaListItem : abstract base class which provides an interface for MediaWindow and MediaListItem subclasses * NodeListItem : list item for media nodes * DeviceListItem : list item for audio/video settings (device selection) * MixerListItem : list item for the audio-mixer * MediaListItem::Renderer : does the drawing of MediaListItems, which supply render paramaters via a 'SetRenderParamaters()' method. * Comparison of MediaListItems (for sorting) is done via double-dispatch * MediaListItem provides a pure virtual AlterWindow() method, which removes the burden of distinguishing between different behaviours from MediaWindow. * Add methods to MediaWindow for the MediaListItems to call in their AlterWindow() implementation, eg. SelectNode() * Seperate code into these methods, as well as a few private utility methods. * Add a RAII-style 'SmartNode' nested class for MediaWindow, which handles watching/unwatching allocating/deallocating of media_nodes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
H A D | MediaListItem.h | e7b99741803a2adf01f19b0fa59ac55b7bb45b19 Mon Nov 15 08:45:11 UTC 2010 Alex Wilson <yourpalal2@gmail.com> In Media preflet: * Refactor MediaListItem into four/five classes: * MediaListItem : abstract base class which provides an interface for MediaWindow and MediaListItem subclasses * NodeListItem : list item for media nodes * DeviceListItem : list item for audio/video settings (device selection) * MixerListItem : list item for the audio-mixer * MediaListItem::Renderer : does the drawing of MediaListItems, which supply render paramaters via a 'SetRenderParamaters()' method. * Comparison of MediaListItems (for sorting) is done via double-dispatch * MediaListItem provides a pure virtual AlterWindow() method, which removes the burden of distinguishing between different behaviours from MediaWindow. * Add methods to MediaWindow for the MediaListItems to call in their AlterWindow() implementation, eg. SelectNode() * Seperate code into these methods, as well as a few private utility methods. * Add a RAII-style 'SmartNode' nested class for MediaWindow, which handles watching/unwatching allocating/deallocating of media_nodes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
H A D | Media.cpp | e7b99741803a2adf01f19b0fa59ac55b7bb45b19 Mon Nov 15 08:45:11 UTC 2010 Alex Wilson <yourpalal2@gmail.com> In Media preflet: * Refactor MediaListItem into four/five classes: * MediaListItem : abstract base class which provides an interface for MediaWindow and MediaListItem subclasses * NodeListItem : list item for media nodes * DeviceListItem : list item for audio/video settings (device selection) * MixerListItem : list item for the audio-mixer * MediaListItem::Renderer : does the drawing of MediaListItems, which supply render paramaters via a 'SetRenderParamaters()' method. * Comparison of MediaListItems (for sorting) is done via double-dispatch * MediaListItem provides a pure virtual AlterWindow() method, which removes the burden of distinguishing between different behaviours from MediaWindow. * Add methods to MediaWindow for the MediaListItems to call in their AlterWindow() implementation, eg. SelectNode() * Seperate code into these methods, as well as a few private utility methods. * Add a RAII-style 'SmartNode' nested class for MediaWindow, which handles watching/unwatching allocating/deallocating of media_nodes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
H A D | MediaWindow.h | e7b99741803a2adf01f19b0fa59ac55b7bb45b19 Mon Nov 15 08:45:11 UTC 2010 Alex Wilson <yourpalal2@gmail.com> In Media preflet: * Refactor MediaListItem into four/five classes: * MediaListItem : abstract base class which provides an interface for MediaWindow and MediaListItem subclasses * NodeListItem : list item for media nodes * DeviceListItem : list item for audio/video settings (device selection) * MixerListItem : list item for the audio-mixer * MediaListItem::Renderer : does the drawing of MediaListItems, which supply render paramaters via a 'SetRenderParamaters()' method. * Comparison of MediaListItems (for sorting) is done via double-dispatch * MediaListItem provides a pure virtual AlterWindow() method, which removes the burden of distinguishing between different behaviours from MediaWindow. * Add methods to MediaWindow for the MediaListItems to call in their AlterWindow() implementation, eg. SelectNode() * Seperate code into these methods, as well as a few private utility methods. * Add a RAII-style 'SmartNode' nested class for MediaWindow, which handles watching/unwatching allocating/deallocating of media_nodes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
H A D | MediaListItem.cpp | e7b99741803a2adf01f19b0fa59ac55b7bb45b19 Mon Nov 15 08:45:11 UTC 2010 Alex Wilson <yourpalal2@gmail.com> In Media preflet: * Refactor MediaListItem into four/five classes: * MediaListItem : abstract base class which provides an interface for MediaWindow and MediaListItem subclasses * NodeListItem : list item for media nodes * DeviceListItem : list item for audio/video settings (device selection) * MixerListItem : list item for the audio-mixer * MediaListItem::Renderer : does the drawing of MediaListItems, which supply render paramaters via a 'SetRenderParamaters()' method. * Comparison of MediaListItems (for sorting) is done via double-dispatch * MediaListItem provides a pure virtual AlterWindow() method, which removes the burden of distinguishing between different behaviours from MediaWindow. * Add methods to MediaWindow for the MediaListItems to call in their AlterWindow() implementation, eg. SelectNode() * Seperate code into these methods, as well as a few private utility methods. * Add a RAII-style 'SmartNode' nested class for MediaWindow, which handles watching/unwatching allocating/deallocating of media_nodes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
H A D | MediaWindow.cpp | e7b99741803a2adf01f19b0fa59ac55b7bb45b19 Mon Nov 15 08:45:11 UTC 2010 Alex Wilson <yourpalal2@gmail.com> In Media preflet: * Refactor MediaListItem into four/five classes: * MediaListItem : abstract base class which provides an interface for MediaWindow and MediaListItem subclasses * NodeListItem : list item for media nodes * DeviceListItem : list item for audio/video settings (device selection) * MixerListItem : list item for the audio-mixer * MediaListItem::Renderer : does the drawing of MediaListItems, which supply render paramaters via a 'SetRenderParamaters()' method. * Comparison of MediaListItems (for sorting) is done via double-dispatch * MediaListItem provides a pure virtual AlterWindow() method, which removes the burden of distinguishing between different behaviours from MediaWindow. * Add methods to MediaWindow for the MediaListItems to call in their AlterWindow() implementation, eg. SelectNode() * Seperate code into these methods, as well as a few private utility methods. * Add a RAII-style 'SmartNode' nested class for MediaWindow, which handles watching/unwatching allocating/deallocating of media_nodes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|