#author("2019-03-08T00:47:57+09:00","","")
''ここは Preferences > Title Formatting の解説ページです。''
----
#contents

*タイトル表示などのカスタマイズ [#yd6af844]
#imgr(./snaps/Display_Titleformatting.png);

**タブ [#z22d982f]
-''Playlist''
--Default User Interface のプレイリスト
-''Main window title''
--foobar2000 メインウインドウのタイトル
-''Status bar''
--ステータスバー
-''Copy command''
--[[コンテキストメニュー Copy name(s)>Context Menu]] でクリップボードにコピーされるテキスト
-''Notification area icon tooltip''
--「Preferences - Display - Default User Interface - System Notification area(通知領域) - Show baloon tooltip on song change(曲の変更時にバルーンチップを表示する)」 もしくは 「[[Columns UI - Status bar/Systray - System notification area - Show popup notification balloons>Columns UI 解説#w2b78740]]」有効時にポップアップ表示されるテキスト

**ボタン [#y5449c9e]
-''Preview''
--設定した書式のプレビュー
-''Reset''
--初期設定に戻す
-''Color''
--表示テキストの色の変更(PlaylistまたはStatus barのみに効果あり)
--''Change Color''
---色の変更
---これを変更するだけでは文字色は変更されない。変更するには、色を変更したい文字列の前に$rgb( ~ )という文字列をコピー&ペーストする必要がある。
--''Restore''
---色を戻す
---"Change Color"と同じく、色を戻したい文字列の前に$rgb()という文字列をコピー&ペーストする必要がある。
:例|
 null_color $rgb(0,0,255)blue $rgb(255,255,0)yellow $rgb()null_color
例えば上記の文字列を Status bar にコピー&ペーストすると、デフォルトの文字色が黒の場合、
&color(#000000,#c0c0c0){null_color };&color(#0000ff,#c0c0c0){blue }; &color(#ffff00,#c0c0c0){yellow };&color(#000000,#c0c0c0){null_color};
のように表示される。
-''Editor Font''
--フォント変更
-''Apply''
--設定の適用

*設定例 [#b3017118]
基本的にコピー&ペーストするだけで使える。
普通にテキストを表示させたい場合は ' (シングルクォーテーションマーク)で囲まないとうまく表示されない場合がある。
改行は無視される。
TitleFormatting について詳しく知りたい場合は[[TitleFormatting 解説]]へ。

-曲のタイトル
 %title%
--%title% という文字を表示させる
 '%title%'
-アーティスト
 [%artist%]
-アルバム
 [%album%]
-再生時間 / 曲時間
 [%playback_time%' / ']%length%
- プログレスバー
 $progress(%_time_elapsed_seconds%, %_time_total_seconds%,15,'|','-')
- Playing,Paused,Stopped を再生状況に応じて返す
 $if(%_isplaying%,$if(%_ispaused%,'Paused','Playing'),'Stopped')
-foobar2000のバージョン
 %_foobar2000_version%

-改行を利用した Notification area icon tooltip の設定例
 Title : %title%$char(10)
 Artist: %artist%$char(10)
 Album : %album%