[vlc-devel] vlc: svn commit r16159 (fkuehne)

Subversion daemon svn at videolan.org
Sat Jul 29 17:07:44 CEST 2006

r16159 | fkuehne | 2006-07-29 17:07:42 +0200 (Sat, 29 Jul 2006) | 5 lines
Changed paths:
   M /trunk/extras/MacOSX/Resources/English.lproj/Interaction.nib/classes.nib
   M /trunk/extras/MacOSX/Resources/English.lproj/Interaction.nib/info.nib
   M /trunk/extras/MacOSX/Resources/English.lproj/Interaction.nib/keyedobjects.nib
   M /trunk/include/vlc_interaction.h
   M /trunk/modules/demux/avi/avi.c
   M /trunk/modules/gui/macosx/interaction.h
   M /trunk/modules/gui/macosx/interaction.m
   M /trunk/modules/services_discovery/shout.c
   M /trunk/src/interface/interaction.c
   M /trunk/src/misc/update.c

* enhanced the interaction core with some method additions/changes
- intf_UserProgress* takes an additional argument now. use it to provide the time to go (in sec) until the process will be finished. Provide 0, if you don't have such info. The interface will hide the respective text-field.
- intf_UserProgressIsCancelled can be called by the module which triggered the interaction dialogue on a regular interval, to check if the user cancelled the dialogue or not. This is for dialogues with an optional cancel-button only (like the modal progress panel), so it doesn't replace p_dialog->i_return = DIALOG_CANCELLED which is for yes/no-style dialogues
- intf_UserOkayCancel was removed in favour of an enhanced intf_UserYesNo
- intf_UserYesNo takes 3 additional arguments now to get the custom captions of the default (~Yes), alternate(~No) and one optional button(~Cancel). This provides a better interface experience for the user and is more compliant with OSX's HIGL. The interface automatically hides the 3rd button, if NULL is given.

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list