History log of /haiku/src/preferences/media/MediaWindow.cpp (Results 26 – 50 of 67)
Revision Date Author Comments
# 1c0cacfb 23-Sep-2012 Axel Dörfler <axeld@pinc-software.de>

Cleanup.

* Sort methods like they are declared in the header.
* Fixed a number of coding style violations and other oddities.


# c802257b 06-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Merge branch 'master' into x86_64


# aed35104 05-Aug-2012 Humdinger <humdingerb@gmail.com>

Close alerts with ESCAPE key.

Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts
depending if the result gets used later in the code, or if it's a one-button
BAlert.


# e914c544 08-Jul-2012 Adrien Destugues - PulkoMandy <pulkomandy@pulkomandy.tk>

Merge branch 'master' of ssh://git.haiku-os.org/haiku


# 120585d5 02-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

Merge branch 'master' into x86_64


# f437c10c 01-Jul-2012 Humdinger <humdingerb@gmail.com>

Small visual changes to left scroll view. Fixes #8659.

Fixed width of left scroll view.
Added padding to list items.
Thanks yourpalal for your hints.


# 62115b47 01-Jul-2012 Humdinger <humdingerb@gmail.com>

Automatic whitespace cleanup and coding style.


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku'

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.

show more ...


# c67a3f98 27-May-2011 Alex Wilson <yourpalal2@gmail.com>

Shrink Media preflet main window by removing doubled spacing in one place, and using default spacing (11.0f) in place of a custom spacing (14.0f).
+alpha


git-svn-id: file:///srv/svn/repos/haiku/hai

Shrink Media preflet main window by removing doubled spacing in one place, and using default spacing (11.0f) in place of a custom spacing (14.0f).
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41781 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# 10c18d38 22-May-2011 Alex Wilson <yourpalal2@gmail.com>

Replace use of sprintf with snprintf in media preflet. Fixes CID 7943 (secure coding).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41664 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 560ff447 25-Mar-2011 Jonas Sundström <jonas@kirilla.com>

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'Sys

Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41103 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# d374a272 16-Mar-2011 Jonas Sundström <jonas@kirilla.com>

App name localization.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40980 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c97121d3 25-Feb-2011 Alex Wilson <yourpalal2@gmail.com>

Remove the realtime stuff from the media preflet, as these controls actually have no effect whatsoever. Also remove the message to restart the media server after default audio/video inputs or outputs

Remove the realtime stuff from the media preflet, as these controls actually have no effect whatsoever. Also remove the message to restart the media server after default audio/video inputs or outputs are changed, as these changes take effect immediately. fixes #6012


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40687 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# d49e0a27 11-Jan-2011 Alex Wilson <yourpalal2@gmail.com>

In Media preflet: add an ItemWidth() method to MediaListItem::Renderer, which tells us how much space is needed onscreen for a MediaListItem. Use the new ItemWidth() method in MediaListItem::Update()

In Media preflet: add an ItemWidth() method to MediaListItem::Renderer, which tells us how much space is needed onscreen for a MediaListItem. Use the new ItemWidth() method in MediaListItem::Update() to set our width. Add a MediaWindow::_UpdateListItemMinSize() method that uses the items' width to calculate the new explicit min width of our list view. This fixes a problem I saw with localized strings in the listview not being fully displayed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40207 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# 7afc7756 05-Jan-2011 Alex Wilson <yourpalal2@gmail.com>

In Media preflet:
* Modify MediaListItem to use the visitor pattern
* Use the visitor pattern for comparison of MediaListItem subclassed objects
* Use the visitor pattern in MediaWindow to propagate

In Media preflet:
* Modify MediaListItem to use the visitor pattern
* Use the visitor pattern for comparison of MediaListItem subclassed objects
* Use the visitor pattern in MediaWindow to propagate changes to NodeListItems.
* Rename and/or remove some message constants
* Rename SettingsItem class to NodeMenuItem
* Rename Settings2Item class to ChannelMenuItem
* Derive SettingsView from BGridView, and make it an abstract base class for two new classes, AudioSettingsView and VideoSettingsView.
* Have the SettingsView subclasses handle messages originating from their children (for the most part).
* Use a BCardLayout to hold our Audio/Video SettingsViews and our instantiated node view (when applicable).
* small changes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40127 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# e7b99741 15-Nov-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 :

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

show more ...


# 6e62e744 30-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

In Media preflet:
* rename some variables (eg. fMenu1 -> fInputMenu)
* rearrange some code for improved clarity
* fix an instance of casting BMenuItem*s to dormant_node_info*s before deleting them (n

In Media preflet:
* rename some variables (eg. fMenu1 -> fInputMenu)
* rearrange some code for improved clarity
* fix an instance of casting BMenuItem*s to dormant_node_info*s before deleting them (now we just delete them as BMenuItems)
* use a BGridView to align the MenuFields in Audio/Video setting views.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39190 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# b63e3a34 29-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

In Media preflet:
* Move icons to resource file.
* Add MediaIcons class to handle loading and storing the icons.
* Use a MediaIcons object in place of a BList for passing icons to our list items.
* A

In Media preflet:
* Move icons to resource file.
* Add MediaIcons class to handle loading and storing the icons.
* Use a MediaIcons object in place of a BList for passing icons to our list items.
* Add IconHandles.h to hold an enum for identifying icons in/from our resource file.
* style fixes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39180 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# 5c0767ca 26-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

Fix a regression I caused in the media preflet with r39070 by remembering to clean out our BListView when (re)initializing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39150 a95241bf-73f2-0

Fix a regression I caused in the media preflet with r39070 by remembering to clean out our BListView when (re)initializing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39150 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# 768734a8 26-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

In media preflet, update handling of nodes with no controls to look nicer and not make our window really small.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39149 a95241bf-73f2-0310-859d-f6b

In media preflet, update handling of nodes with no controls to look nicer and not make our window really small.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39149 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# 6b0cdfbc 23-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

Update Media prefs to use BObjectList in place of BList + a few style fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39070 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7c4e83dd 22-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

In media preferences:
* remove custom 'BarView' class, and replace it with BSeparatorView.
* remove BStringVIew for displaying titles, our BSeparatorView does this now.
* Have the BSeparatorView alwa

In media preferences:
* remove custom 'BarView' class, and replace it with BSeparatorView.
* remove BStringVIew for displaying titles, our BSeparatorView does this now.
* Have the BSeparatorView always draw, BarView was only drawn sometimes.

This helps stabilise the window size, cleans up the code and looks nicer, in my opinion.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39051 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# a633251f 01-Oct-2010 Alex Wilson <yourpalal2@gmail.com>

Big style cleanup in preparation for refactoring the media preflet and tackling #6544.
Fix one use of sscanf(...) > 0, where it ought to be sscanf(...) == 4.
Otherwise, no functional changes intended

Big style cleanup in preparation for refactoring the media preflet and tackling #6544.
Fix one use of sscanf(...) > 0, where it ought to be sscanf(...) == 4.
Otherwise, no functional changes intended.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38865 a95241bf-73f2-0310-859d-f6bbb57e9c96

show more ...


# 91debc87 16-Sep-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by diver, translating some yet untranslated strings.
Closes ticket #6609. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38676 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9cedafe6 28-Jun-2010 Wim van der Meer <wpjvandermeer@gmail.com>

Adding missing #undef B_TRANSLATE_CONTEXT

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37290 a95241bf-73f2-0310-859d-f6bbb57e9c96


123