Ticket #7275: mediaconverter-about-update.patch
File mediaconverter-about-update.patch, 3.1 KB (added by , 13 years ago) |
---|
-
src/apps/mediaconverter/MediaConverterWindow.cpp
17 17 #include <ControlLook.h> 18 18 #include <FilePanel.h> 19 19 #include <LayoutBuilder.h> 20 #include <Locale.h>21 20 #include <Menu.h> 22 21 #include <MenuBar.h> 23 22 #include <MenuField.h> … … 30 29 #include <Slider.h> 31 30 #include <StringView.h> 32 31 #include <TextControl.h> 32 #include <TextView.h> 33 33 34 34 #include "MediaFileInfoView.h" 35 35 #include "MediaFileListView.h" … … 385 385 386 386 case DISP_ABOUT_MESSAGE: 387 387 { 388 BString title(B_TRANSLATE("About" B_UTF8_ELLIPSIS)); 389 (new BAlert(title, 390 B_TRANSLATE("MediaConverter\n" 391 VERSION"\n" 392 B_UTF8_COPYRIGHT" 1999, Be Incorporated.\n" 393 B_UTF8_COPYRIGHT" 2000-2004 Jun Suzuki\n" 394 B_UTF8_COPYRIGHT" 2007 Stephan Aßmus\n" 395 B_UTF8_COPYRIGHT" 2010 Haiku, Inc."), 396 B_TRANSLATE("OK")))->Go(); 388 BString aboutText(B_TRANSLATE("MediaConverter")); 389 int32 titleLength = aboutText.Length(); 390 aboutText << "\n\n"; 391 aboutText << B_TRANSLATE("Version"); 392 aboutText << " 1.3.1\n"; 393 aboutText << B_UTF8_COPYRIGHT; 394 aboutText << " 1999, Be Incorporated.\n"; 395 aboutText << B_UTF8_COPYRIGHT; 396 aboutText << " 2000-2004 Jun Suzuki\n"; 397 aboutText << B_UTF8_COPYRIGHT; 398 aboutText << " 2007 Stephan Aßmus\n"; 399 aboutText << B_UTF8_COPYRIGHT; 400 aboutText << " 2010-2011 Haiku, Inc.\n"; 401 BAlert* alert = new BAlert(B_TRANSLATE("About" B_UTF8_ELLIPSIS), 402 aboutText.String(), B_TRANSLATE("OK")); 403 BTextView* view = alert->TextView(); 404 BFont font; 405 406 view->SetStylable(true); 407 408 view->GetFont(&font); 409 font.SetSize(18); 410 font.SetFace(B_BOLD_FACE); 411 view->SetFontAndColor(0, titleLength, &font); 412 alert->Go(); 397 413 break; 398 414 } 399 415 -
src/apps/mediaconverter/MediaEncoderWindow.cpp
7 7 #include <stdio.h> 8 8 9 9 #include <Catalog.h> 10 #include <Locale.h>11 10 #include <View.h> 12 11 13 12 -
src/apps/mediaconverter/MediaConverterApp.cpp
12 12 #include <Alert.h> 13 13 #include <Catalog.h> 14 14 #include <fs_attr.h> 15 #include <Locale.h>16 15 #include <MediaFile.h> 17 16 #include <MediaTrack.h> 18 17 #include <Mime.h> -
src/apps/mediaconverter/MediaFileInfoView.cpp
7 7 #include <Alert.h> 8 8 #include <Catalog.h> 9 9 #include <ControlLook.h> 10 #include <Locale.h>11 10 #include <MediaFile.h> 12 11 #include <MediaTrack.h> 13 12 #include <String.h>