Foobar2000:Components 0.9/ELplaylist panel (foo uie elplaylist): Difference between revisions

From Hydrogenaudio Knowledgebase
(first version)
 
m (Some minor clean up for readability)
Line 14: Line 14:
foo_uie_elplaylist.dll v0.6.4.2beta  
foo_uie_elplaylist.dll v0.6.4.2beta  
  for foobar2000 v0.9.5.1 +, Columns UI0.3 +, WindowsXP +  
  for foobar2000 v0.9.5.1 +, Columns UI0.3 +, WindowsXP +  
  (Testing is only WindowsXP)  
  (tested WindowsXP, only)  


  SDK version  
  SDK version  
Line 20: Line 20:
         cui: 6.3  
         cui: 6.3  


SCPL like Columns UI for the Playlist view  
ELplaylist panel provides a single columns playlist like Columns UI for the Playlist view.
A group format each track of the playlist list and grouping of elements in the set.  
It consists of a section for each track of the playlist and grouping section for all elements of a given set.  


When you change settings, right-click menu, please call the Settings ... dialog.  
In order to change its settings, right-click on any playlist item and choose the Settings ... dialog.  
(At least General -> Title format Processor -> __ART_PATH__ you have bad balance and do not set the path to the images in the album.)  
(At least General -> Title format Processor -> __ART_PATH__ you have bad balance and do not set the path to the images in the album.)  
To edit the settings, Titleformat (TF) knowledge is required. About Titleformat Please refer to the descriptions of other sites separately.  
To edit the settings, [[Titleformat]] (TF) knowledge is required. About [[Titleformat]] Please refer to the descriptions of other sites separately.  


 
== Setting Items ==
 
Setting items


  [Script]  
  [Script]  
Line 66: Line 64:
  selected item: Specifies the background color of selected rows.  
  selected item: Specifies the background color of selected rows.  
  playing item: Specifies the background color of the track playing.  
  playing item: Specifies the background color of the track playing.  
  selected playing item: Specifies the background color of selected tracks行KATSU play.  
  selected playing item: Specifies the background color of selected tracks?KATSU play.  


  odd and even item for the right padding and left padding can be drawn in the area.  
  odd and even item for the right padding and left padding can be drawn in the area.  
Line 74: Line 72:
  off time is determined by order of the group.  
  off time is determined by order of the group.  


  change to display the character, script editing only.  
  ? change to display the character, script editing only.  


  Default font ...:  
  Default font ...:  
Line 82: Line 80:
  And a pseudo-transparent background. I tend to be heavier to process.  
  And a pseudo-transparent background. I tend to be heavier to process.  
  (If severe, may be better to narrow the viewing area.  
  (If severe, may be better to narrow the viewing area.  
  No I do not use it to optimize the authors・・・)  
  No I do not use it to optimize the authors···)  


  Enable Visual Style:  
  Enable Visual Style:  
Line 105: Line 103:
  Example:% album artist %|||% album%  
  Example:% album artist %|||% album%  
  The group with the child group, there are constraints that can not be assigned a truck.  
  The group with the child group, there are constraints that can not be assigned a truck.  
割RI当TEYOU and tracks such groups, is inserted DAMIGURUPUHEDDA.  
?RI?TEYOU and tracks such groups, is inserted DAMIGURUPUHEDDA.  
  Are written in some detail at the end of this text.  
  Are written in some detail at the end of this text.  


Line 136: Line 134:


  Playlist filter:  
  Playlist filter:  
  enable playlist filter is on, the name of the playlist from the playlist when切RI替WATTA the group by preset can be selected automatically.  
  enable playlist filter is on, the name of the playlist from the playlist when?RI?WATTA the group by preset can be selected automatically.  
  enable all playlists in the playlist of all the active preset.  
  enable all playlists in the playlist of all the active preset.  
  If you enable only on the playlist name matches the specified preset is enabled.  
  If you enable only on the playlist name matches the specified preset is enabled.  
Line 142: Line 140:
  preset determines the priority order of the list.  
  preset determines the priority order of the list.  


  The name of the playlist specified, ";" that can be separated by more than one. TF or wild card is invalid.  
  ? The name of the playlist specified, ";" that can be separated by more than one. TF or wild card is invalid.  


  Associated titleformat script name:  
  Associated titleformat script name:  
  This preset tileformat scrpit関連付KETAI and the name of a single set.  
  This preset tileformat scrpit???KETAI and the name of a single set.  




Line 207: Line 205:
  See also SHOTOKATTOKIBAINDO.  
  See also SHOTOKATTOKIBAINDO.  
  IME in XP then I will support as possible to find it in Japanese.  
  IME in XP then I will support as possible to find it in Japanese.  
  Alphabet in Vista (ASCII) may only search. (Originally I未確認work with Vista.)  
  Alphabet in Vista (ASCII) may only search. (Originally I???work with Vista.)  
  If you want to search for Vista in non-ASCII, Ctrl-f search DAIAROGUBESU it is possible, please use there.  
  If you want to search for Vista in non-ASCII, Ctrl-f search DAIAROGUBESU it is possible, please use there.  
   
   
Line 240: Line 238:
  Popup (Track) limit the number of trucks running.  
  Popup (Track) limit the number of trucks running.  
  Popup the Titleformat script,  
  Popup the Titleformat script,  
  Popup (Background) -> Popup (Track) -> Popup (Track) ->・・・
  Popup (Background) -> Popup (Track) -> Popup (Track) ->···
  Runs.  
  Runs.  


Line 248: Line 246:




  ● SHOTOKATTOKIBAINDO
   
== Keyboard Shortcuts ==
  Ctrl-c: Copy  
  Ctrl-c: Copy  
  Ctrl-v: Paste  
  Ctrl-v: Paste  
Line 262: Line 262:
  # # [Alt] + Drag & Drop, you can move the selected tracks.  
  # # [Alt] + Drag & Drop, you can move the selected tracks.  


  incremental search  
  ¦ incremental search  
  Keystrokes group format (% el_group_format%) or incremental search. (enable incremental search is on only)  
  Keystrokes group format (% el_group_format%) or incremental search. (enable incremental search is on only)  
  The following shortcuts are available.  
  The following shortcuts are available.  
  Ctrl-e: to reset the search keywords.  
  Ctrl-e: to reset the search keywords.  
  Ctrl-d: Find Next. (Ctrl-s if I could spare a・・・)  
  Ctrl-d: Find Next. (Ctrl-s if I could spare a···)  
  Ctrl-r: find.  
  Ctrl-r: find.  


Main Menu  
== Main Menu Options (View->ELPlaylist) ==
All panels will be affected.  
 
All panels will be affected by selecting a menu item here.  
 
  Show now playing: Scroll to the track so that you are playing.  
  Show now playing: Scroll to the track so that you are playing.  
  Show focused item: Scroll to see the focus track.  
  Show focused item: Scroll to see the focus track.  
Line 277: Line 279:
  Refresh: redraw causes the explicit.  
  Refresh: redraw causes the explicit.  


== Extended Command Reference ==
Please refer also to foobar's default titleformat Reference


● Extended Command Reference
== Fields ==
(And other than what it says here you can use foobar's default unit is roughly TF)


 
  %el_width%  
■ ■ ■ ■ ■ ■ fields ■ ■ ■ ■ ■ ■
 
  % el_width%  
  Returns the width of the viewing area of the line  
  Returns the width of the viewing area of the line  
  [Track list] [Group header] [Per Second] [Popup]  
  [Track list] [Group header] [Per Second] [Popup]  




  % el_height%  
  %el_height%  
  Returns the height of the viewing area of the line.  
  Returns the height of the viewing area of the line.  
  (Line group% el_height% =% el_group_row% *% el_row_height%  
  (Line group% el_height% =% el_group_row% *% el_row_height%  
Line 297: Line 298:




  % el_isplaying%  
  %el_isplaying%  
  Whether during playback  
  Whether during playback  
  [Track list] [Group header] [Per Second]  
  [Track list] [Group header] [Per Second]  




  % el_selected%  
  %el_selected%  
  On whether the selected playlist  
  On whether the selected playlist  
  [Track list] [Per Second]  
  [Track list] [Per Second]  
Line 309: Line 310:




  % el_focused%  
  %el_focused%  
  Focus on whether or not in the playlist  
  Focus on whether or not in the playlist  
  [Track list] [Per Second]  
  [Track list] [Per Second]  




  % el_row_height%  
  %el_row_height%  
  Returns the height of the basic line.  
  Returns the height of the basic line.  
  (% El_height% header line is a different group.)  
  (% El_height% header line is a different group.)  
Line 320: Line 321:




  % el_group_row%  
  %el_group_row%  
  The group header row height% el_row_height% or one minute.  
  The group header row height% el_row_height% or one minute.  
  The group header% el_height% =% el_group_row% *% el_row_height% of  
  The group header% el_height% =% el_group_row% *% el_row_height% of  
Line 326: Line 327:




  % el_item_count%  
  %el_item_count%  
  Number of tracks in the group  
  Number of tracks in the group  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  
Line 332: Line 333:




  % el_item_count2%  
  %el_item_count2%  
  number of empty trucks in the group that contains the line  
  number of empty trucks in the group that contains the line  
  [Track list] [Group header] [Per Second]  
  [Track list] [Group header] [Per Second]  
Line 339: Line 340:




  % el_direct_item_count%  
  %el_direct_item_count%  
  Do you track the number of directly assigned to the group.  
  Do you track the number of directly assigned to the group.  
  Except in special cases, a group with a sub-group will be 0.  
  Except in special cases, a group with a sub-group will be 0.  
Line 346: Line 347:




  % el_item_index%  
  %el_item_index%  
  The index tracks the group (counting from 0)  
  The index tracks the group (counting from 0)  
  The line does not count up empty.  
  The line does not count up empty.  
Line 352: Line 353:




  % el_item_index2%  
  %el_item_index2%  
  The index tracks the group (counting from 0)  
  The index tracks the group (counting from 0)  
  Count up the line is empty.  
  Count up the line is empty.  
Line 358: Line 359:




  % el_total_group_count%  
  %el_total_group_count%  
  Number of groups (number of headers for all groups)  
  Number of groups (number of headers for all groups)  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  




  % el_total_group_index%  
  %el_total_group_index%  
  Index group (index group headers in the list)  
  Index group (index group headers in the list)  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  




  % el_group_count%  
  %el_group_count%  
  Number of groups that belong to the same parent group  
  Number of groups that belong to the same parent group  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  




  % el_group_index%  
  %el_group_index%  
  The index of the group as seen from a parent group (counting from 0)  
  The index of the group as seen from a parent group (counting from 0)  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  




  % el_group_depth%  
  %el_group_depth%  
  The depth of the current group (counting from 0)  
  The depth of the current group (counting from 0)  
  [Track list] [Group header] [Per Second] [Group row] [Min item num] [Popup]  
  [Track list] [Group header] [Per Second] [Group row] [Min item num] [Popup]  




  % el_subgroup_count%  
  %el_subgroup_count%  
  The number of subgroups  
  The number of subgroups  
  Number of groups of children, grandchildren and the number of groups are not counted.  
  Number of groups of children, grandchildren and the number of groups are not counted.  
Line 389: Line 390:




  % el_subgroup_count2%  
  %el_subgroup_count2%  
  Cumulative number of subgroups  
  Cumulative number of subgroups  
  Be counted against the group after the grandchildren.  
  Be counted against the group after the grandchildren.  
Line 395: Line 396:




  % el_group_format%  
  %el_group_format%  
  The current group of the TF group format in the process and return the result.  
  The current group of the TF group format in the process and return the result.  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  




  % el_is_collapsed% (% el_is_hide_item%)  
  %el_is_collapsed% (% el_is_hide_item%)  
  Whether to close the group.  
  Whether to close the group.  
  (Whether or not display the group header only)  
  (Whether or not display the group header only)  
Line 406: Line 407:




  % el_is_empty%  
  %el_is_empty%  
  Empty or no go.  
  Empty or no go.  
  (Just opposite% el_is_valid%)  
  (Just opposite% el_is_valid%)  
Line 414: Line 415:




  % el_is_valid%  
  %el_is_valid%  
  Valid (empty lines are not), or no go.  
  Valid (empty lines are not), or no go.  
  [Track list] [Per Second]  
  [Track list] [Per Second]  
Line 420: Line 421:




  % el_is_noheader%  
  %el_is_noheader%  
  Do not you have a group header  
  Do not you have a group header  
  (% El_group_row% to 0 if 1)  
  (% El_group_row% to 0 if 1)  
Line 426: Line 427:




  % el_sum_length%  
  %el_sum_length%  
  Total length of the track of the group [hh:] mm: ss  
  Total length of the track of the group [hh:] mm: ss  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  




  % el_sum_length_seconds%  
  %el_sum_length_seconds%  
  Total length of the track of the group (s)  
  Total length of the track of the group (s)  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  




  % el_backcolour%  
  %el_backcolour%  
  The background color back in the r-g-b format.  
  The background color back in the r-g-b format.  
  R-g-b-a if you want to format,  
  R-g-b-a if you want to format,  
  % el_backcolour% -192 can add value and alpha.  
  %el_backcolour% -192 can add value and alpha.  
  [Track list] [Group header] [Per Second]  
  [Track list] [Group header] [Per Second]  




  % el_preset_index%  
  %el_preset_index%  
  The current group by the preset index returns.  
  The current group by the preset index returns.  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  




  % el_preset_name%  
  %el_preset_name%  
  Returns the current group by the preset name.  
  Returns the current group by the preset name.  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  




  % el_is_group%  
  %el_is_group%  
  Popup whether the group header.  
  Popup whether the group header.  
  [Popup]  
  [Popup]  




  % el_popup_width%,% el_popup_height%  
  %el_popup_width%,% el_popup_height%  
  Size pop-up at that time.  
  Size pop-up at that time.  
  % el_width%,% el_height% note that the max size is returned.  
  % el_width%,% el_height% note that the max size is returned.  
Line 464: Line 465:




  % el_is_themed%  
  %el_is_themed%  
  Whether or not enable Visual Style valid  
  Whether or not enable Visual Style valid  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  
  [Track list] [Group header] [Per Second] [Group row] [Min item num]  




■ ■ ■ ■ ■ ■ functions ■ ■ ■ ■ ■ ■
== Functions ==


  Draw control function  
  ? Draw control function  
  [Track list], [Group header], [Per Second], [Popup] valid.  
  [Track list], [Group header], [Per Second], [Popup] valid.  


  $ font (name, size, OPTIONS)  
  $font (name, size, OPTIONS)  
  Font settings.  
  Font settings.  
  OPTIONS: bold italic underline strikeout  
  OPTIONS: bold italic underline strikeout  


  Example: $ font (Tahoma, 10, bold italic)  
  Example: $font(Tahoma, 10, bold italic)  




  $ drawstring (text, x, y, W, H, rgba, OPTIONS [, OPTIONS2])  
  $drawstring(text, x, y, W, H, rgba, OPTIONS [, OPTIONS2])  
  String drawing functions.  
  String drawing functions.  
  Text coordinates (x, y) to draw on.  
  Text coordinates (x,y) to draw on.  
  [Note] This function is a string and DrawText drawtextex not only in view.  
  [Note] This function is a string and DrawText drawtextex not only in view.  
  Maybe only TrueType fonts.  
  Maybe only TrueType fonts.  
Line 498: Line 499:


  If you set the trimming trimchar trimword fit the display range  
  If you set the trimming trimchar trimword fit the display range  
  elipchar elipword the last to fit the display range If・・・set to replace the  
  elipchar elipword the last to fit the display range If···set to replace the  


  mempos getlastpos, to be able to get the coordinates of the drawing.  
  mempos getlastpos, to be able to get the coordinates of the drawing.  
Line 514: Line 515:
  Y - glow in the vertical offset  
  Y - glow in the vertical offset  


  glow is a heavy process. (Especially the pseudo transparent)  
  ? glow is a heavy process. (Especially the pseudo transparent)  


  Example, $ drawstring (abcd, 10,10,, ,255-128-64-128,)  
  Example, $drawstring(abcd, 10,10,, ,255-128-64-128,)  
  $ drawstring (abcd, 10,10,, ,255-128-64-128, left vcenter, glow :2:255-255-255: 3)  
  $drawstring(abcd,10,10,,,255-128-64-128,left vcenter,glow :2:255-255-255: 3)  
  $ drawstring (wxyz, 10,10,, ,255-255-255,, glow :2:32-168-268: 1 offset: 1:1)  
  $drawstring(wxyz,10,10,,,255-255-255,,glow :2:32-168-268: 1 offset: 1:1)  
  $ drawstring (wxyz, 10,10,, ,255-255-255, elipchar)  
  $drawstring(wxyz,10,10,,,255-255-255,elipchar)  




  $ drawrect (x, y, w, h, R1-G1-B1-A1, R2-G2-B2-A2, OPTIONS)  
  $ drawrect (x, y, w, h, R1-G1-B1-A1, R2-G2-B2-A2, OPTIONS)  
  Rectangular drawing functions.  
  Rectangular drawing functions.  
  Coordinates (x, y) size (w, h) Draws a rectangle.  
  Coordinates (x,y) size (w,h) Draws a rectangle.  
  R1-G1-B1-A1 internal color  
  R1-G1-B1-A1 internal color  
  R2-G2-B2-A2 Border Color  
  R2-G2-B2-A2 Border Color  
Line 534: Line 535:




  $ gradientrect (x, y, w, h, r1-g1-b1-a1, r2-g2-b2-a2, OPTIONS, PEAK)  
  $gradientrect (x, y, w, h, r1-g1-b1-a1, r2-g2-b2-a2, OPTIONS, PEAK)  
  Gradient fill in the drawing functions in the rectangle.  
  Gradient fill in the drawing functions in the rectangle.  
  Coordinates (x, y) size (w, h) Draws a rectangle.  
  Coordinates (x, y) size (w, h) Draws a rectangle.  
Line 552: Line 553:


  Example: $ gradientrect (0,50,50,50255-128-64-128255-255-255, vertical aa)  
  Example: $ gradientrect (0,50,50,50255-128-64-128255-255-255, vertical aa)  
  $ gradientrect (0,50,50,50255-128-64-128255-255-255,, 10)  
  $gradientrect (0,50,50,50255-128-64-128255-255-255,, 10)  




  $ drawblurrect (x, y, w, h, colour, level)  
  $drawblurrect (x, y, w, h, colour, level)  
  Filling a rectangle drawing functions to blur the outline.  
  Filling a rectangle drawing functions to blur the outline.  
  Level [1-7]  
  Level [1-7]  




  $ drawfocusrect (x, y, w, h)  
  $drawfocusrect (x, y, w, h)  
  Function to draw a dotted line shows the focus rectangle frame specified.  
  Function to draw a dotted line shows the focus rectangle frame specified.  




  $ drawthemerect (x, y, w, h, control_name, partId, stateId)  
  $drawthemerect (x, y, w, h, control_name, partId, stateId)  
  Visual Style in a rectangle with a control (button or progress bar) function to draw.  
  Visual Style in a rectangle with a control (button or progress bar) function to draw.  
  The only practical to draw a picture may be low.  
  The only practical to draw a picture may be low.  
Line 594: Line 595:
  Example:  
  Example:  
         Vista Then, apply the style of Windows Explorer.  
         Vista Then, apply the style of Windows Explorer.  
  $ drawthemerect (0,0,% el_width%,% el_height%, listview, 1,1) / / default  
  $drawthemerect(0,0,%el_width%,%el_height%,listview,1,1) // default  
  $ drawthemerect (0,0,% el_width%,% el_height%, listview, 1,2) / / hot  
  $drawthemerect(0,0,%el_width%,%el_height%,listview,1,2) // hot  
  $ drawthemerect (0,0,% el_width%,% el_height%, listview, 1,3) / / selected  
  $drawthemerect(0,0,%el_width%,%el_height%,listview,1,3) // selected  
  $ drawthemerect (0,0,% el_width%,% el_height%, listview, 1,4) / / disable  
  $drawthemerect(0,0,%el_width%,%el_height%,listview,1,4) // disable  
  $ drawthemerect (0,0,% el_width%,% el_height%, listview, 1,5) / / notfocused selected  
  $drawthemerect(0,0,%el_width%,%el_height%,listview,1,5) // notfocused selected  
  $ drawthemerect (0,0,% el_width%,% el_height%, listview, 1,6) / / hot selected  
  $drawthemerect(0,0,%el_width%,%el_height%,listview,1,6) // hot selected  
            $ drawthemerect (0,0,% el_width%, 1, listview, 7,0) / / group header line  
$drawthemerect(0,0,%el_width%,1,listview,7,0) //group header line  


  $ drawroundrect (x, y, w, h, w2, h2, R1-G1-B1-A1, R2-G2-B2-A2, RESERVED)  
  $drawroundrect (x, y, w, h, w2, h2, R1-G1-B1-A1, R2-G2-B2-A2, RESERVED)  
  Draw a rectangle rolled angle function.  
  Draw a rectangle rolled angle function.  
  Coordinates (x, y) size (w, h) to draw a rectangle with the corners rolled.  
  Coordinates (x, y) size (w, h) to draw a rectangle with the corners rolled.  
Line 631: Line 632:




  $ imageabs (x, y, w, h, path, OPTIONS, n, alpha, OPTIONS2)  
  $imageabs (x, y, w, h, path, OPTIONS, n, alpha, OPTIONS2)  
  Coordinates (x, y) size (w, h) show the images in the path is specified.  
  Coordinates (x, y) size (w, h) show the images in the path is specified.  
  Retained in memory and after resizing the image, if you raise the efficiency of the process see below.  
  Retained in memory and after resizing the image, if you raise the efficiency of the process see below.  
Line 638: Line 639:
  (However, w, h if you are already cached in memory and then the image size to be directly cached)  
  (However, w, h if you are already cached in memory and then the image size to be directly cached)  


扱ITAI a reduced rate if more than one  
?ITAI a reduced rate if more than one  
  Poor quality and will be expanded after the reduction.  
  Poor quality and will be expanded after the reduction.  
  Nodisplay noexpansion and use,  
  Nodisplay noexpansion and use,  
Line 651: Line 652:


  OPTIONS  
  OPTIONS  
  <appearance>  
  ¦ <appearance>  
  nokeepaspect not maintain the aspect ratio (nodisplay, archive, icon options and non-exclusive).  
  nokeepaspect not maintain the aspect ratio (nodisplay, archive, icon options and non-exclusive).  
  Hide nodisplay read only memory.  
  Hide nodisplay read only memory.  
  noexpansion will reduce, not increase.  
  noexpansion will reduce, not increase.  


  <align> exclusive.  
  ¦ <align> exclusive.  
  Left right horizontal aryne specified.  
  Left right horizontal aryne specified.  
  Specify vertical aryne top bottom.  
  Specify vertical aryne top bottom.  


  <misc>  
  ¦ <misc>  
  wc wildcard (*,?) enabled.  
  wc wildcard (*,?) enabled.  


  <read engine> exclusive.  
  ¦ <read engine> exclusive.  
  archive archive reader through the path of the images.  
  archive archive reader through the path of the images.  
  The format of the archive reader is path dependent, the absolute path of the archive | base path in the archive file.  
  The format of the archive reader is path dependent, the absolute path of the archive | base path in the archive file.  
Line 694: Line 695:




    Example $ imageabs (10,10,50,50, C: \% album%. Jpg)  
Example $imageabs(10,10,50,50,C:\%album%.Jpg)  
         $ imageabs (10,10,50,50, C: \% album%. jpg, left top)  
         $imageabs(10,10,50,50,C:\%album%.jpg,lefttop)
         $ imageabs (10,10,50,50, C: \% album%. jpg,, 6)  
         $imageabs(10,10,50,50,C:\%album%.jpg,,6)
         $ imageabs (10,10,50,50, C: \% album% .*, wc, 6)  
         $imageabs(10,10,50,50,C:\%album%.*,wc,6)  
         $ imageabs (10,10,50,50, C: \% album%. jpg, bottom,, 128)  
         $imageabs(10,10,50,50,C:\%album%.jpg,bottom,,128)
         $ imageabs (10,10,50,50, C: \% album%. jpg, bottom,,, glow :2:0-0-0 offset: 4:4)  
         $imageabs(10,10,50,50,C:\%album%.jpg,bottom,,,glow :2:0-0-0 offset: 4:4)  
         $ imageabs (10,10,50,50,% path%, artreader)  
         $imageabs(10,10,50,50,%path%,artreader)  




  $ imageabs_rc (rw, rh, srcx, srcy, srcw, srch, x, y, path, OPTIONS, n, alpha, OPTIONS2)  
  $imageabs_rc(rw,rh,srcx,srcy,srcw,srch,x,y,path,OPTIONS,n,alpha,OPTIONS2)
  To view the clip and resize images.  
  To view the clip and resize images.  
  path specified by the image size (rw, rh) after resizing,  
  path specified by the image size (rw, rh) after resizing,  
Line 738: Line 739:
      
      
  Example:  
  Example:  
  $ imageabs_rc (200100,0,0100,50,10,10, C: \% album%. jpg,, 6192)  
  $imageabs_rc(200100,0,0100,50,10,10,C:\%album%.jpg,,6192)  
  $ imageabs_rc (200100,0,0200100,10,10, C: \% album%. jpg,,) (= $ imageabs (10,10200100, C: \% album%. jpg, left top,,))  
  $imageabs_rc(200100,0,0200100,10,10,C:\%album%.jpg,,) (=$imageabs(10,10200100,C:\%album%.jpg,lefttop,,))  
  $ imageabs_rc (150120,0,0150120,20,15, C: \% album%. jpg, hcenter vcenter,) (= $ imageabs (20,15150120, C: \% album%. jpg,,,))  
  $imageabs_rc(150120,0,0150120,20,15,C:\%album%.jpg,hcenter vcenter,) (=$imageabs(20,15150120,C:\%album%.jpg,,,))  


 
== Additional drawing functions ==
 
   
  ● auxiliary drawing
  $getlastpos(elem)  
 
  $ getlastpos (elem)  
  Display function imageabs, imageabs_rc right after, to get the coordinates to draw a picture.  
  Display function imageabs, imageabs_rc right after, to get the coordinates to draw a picture.  
  Also, measurestring use them when you get the results.  
  Also, measurestring use them when you get the results.  
Line 760: Line 759:


  Example:  
  Example:  
  $ Setworldtransform (2)  
  $Setworldtransform (2)  
  $ Puts (img_path, C: \% album%. Jpg)  
  $puts(img_path, C: \% album%. Jpg)  
  $ imageabs (10,4100100, $ get (img_path), top noexpansion,)  
  $imageabs(10,4100100, $ get (img_path), top noexpansion,)  
  $ imageabs ($ getlastpos (x), $ getlastpos (b), $ getlastpos (w), 20, $ get (img_path), top nokeepaspect, 6)  
  $imageabs($getlastpos(x),$getlastpos(b),$getlastpos(w),20, $ get (img_path), top nokeepaspect, 6)  
  $ gradientrect ($ getlastpos (x), $ getlastpos (y), $ getlastpos (w), $ getlastpos (h),% el_backcolour% -128,% el_backcolour% -255)  
  $gradientrect($ getlastpos (x), $ getlastpos (y), $ getlastpos (w), $ getlastpos (h),% el_backcolour% -128,% el_backcolour% -255)  
  $ Setworldtransform (0)  
  $Setworldtransform(0)  




  $ measurestring (text, x, y, W, H, OPTIONS)  
  $measurestring(text,x,y,W,H,OPTIONS)  
  $ drawstring to calculate the area when drawing text.  
  $drawstring to calculate the area when drawing text.  
  As a result, returns to the horizontal width of the viewing area.  
  As a result, returns to the horizontal width of the viewing area.  
  The display area is to get $ getlastpos.  
  The display area is to get $ getlastpos.  
Line 777: Line 776:




  $ getimagewidth (path), $ getimageheight (path)  
  $getimagewidth(path),$getimageheight(path)
  The image path is specified in $ imageabs $ imageabs_rc of cache memory  
  The image path is specified in $ imageabs $ imageabs_rc of cache memory  
  If the image has been resized in the horizontal width and vertical width returns.  
  If the image has been resized in the horizontal width and vertical width returns.  
Line 784: Line 783:




  $ setcoordinate (mode)  
  $setcoordinate(mode)
  $ setcoordinate (0, X, Y, W, H)  
  $setcoordinate(0,X,Y,W,H)
  $ setcoordinate (1, X, Y, R, B)  
  $setcoordinate(1,X,Y,R,B)  
  Drawing function argument "(x, y, w, h)" designated by a, (x, y, right, bottom) change the designation.  
  Drawing function argument "(x,y,w,h)" designated by a, (x,y,right,bottom) change the designation.  
  $ imageabs_rc and $ drawtriangle for the disabled.  
  $imageabs_rc and $drawtriangle for the disabled.  
  The X, Y, W, H is specified, you can change the default position if the specified coordinates omitted in the drawing functions.  
  The X, Y, W, H is specified, you can change the default position if the specified coordinates omitted in the drawing functions.  
  $ imageab, $ imageabs_rc and $ drawtriangle for the disabled.  
  $imageab, $imageabs_rc and $drawtriangle for the disabled.  


  Mode: Specifies the coordinate mode  
  Mode: Specifies the coordinate mode  
Line 819: Line 818:
  1: group common coordinate system  
  1: group common coordinate system  
  Group and the origin of each track (x, y) = (0,0) Group and the upper left of the line.  
  Group and the origin of each track (x, y) = (0,0) Group and the upper left of the line.  
  % el_height% = (% el_item_count2% +% el_group_row%) *% el_row_height% will.  
  %el_height% = (%el_item_count2%+%el_group_row%)*%el_row_height% will.  


  2: item list of common coordinate system  
  2: item list of common coordinate system  
  The origin of each track (x, y) = (0,0) and upper left of the group's first line of the track.  
  The origin of each track (x, y) = (0,0) and upper left of the group's first line of the track.  
  % el_height% =% el_item_count2% *% el_row_height% will.  
  %el_height% =%el_item_count2% * %el_row_height% will.  


  default  
  default  
Line 862: Line 861:
  1: Enable  
  1: Enable  


  Example: $ enabledraw (1)  
  Example: $enabledraw(1)  
  $ Enabledraw (% el_is_valid%)  
  $Enabledraw (%el_is_valid%)  




  $ getsyscolour (index)  
  $getsyscolour(index)  
  The r-g-b color system in the form of returns.  
  The r-g-b color system in the form of returns.  


Line 872: Line 871:




  $ averagecolour (colour1, colour2 [,・・・])  
  $averagecolour (colour1, colour2 [,···])  
  R-g-b-a to the average color of the form.  
  R-g-b-a to the average color of the form.  
  (Colour1 + colour2 +・・・) / N  
  (Colour1 + colour2 +···) / N  




  $ blendcolour (colour1, w1, colour2, w2, [,・・・])  
  $blendcolour(colour1,w1,colour2,w2,[,···])  
  R-g-b-a return with the average weight in the form.  
  R-g-b-a return with the average weight in the form.  
  (w1 * colur1 + w2 * colour2 +・・・+ wN * colourN) / (w1 + w2 +・・・+ wN)  
  (w1 * colur1 + w2 * colour2 +···+ wN * colourN) / (w1 + w2 +···+ wN)  




  $ addcolour (colour1, colour2 [,・・・])  
  $addcolour(colour1,colour2[,···])  
  R-g-b-a to add the color of the form.  
  R-g-b-a to add the color of the form.  
・・・Colour1 + colour2 + + colourN  
···Colour1 + colour2 + + colourN  




  $ subcolour (colour1, colour2 [,・・・])  
  $subcolour(colour1,colour2[,···])  
  R-g-b-a to form a color subtraction.  
  R-g-b-a to form a color subtraction.  
  Colour1 - colour2 - colour3・・・- colourN  
  Colour1 - colour2 - colour3···- colourN  




  $ xorcolour (colour1, colour2 [,・・・])  
  $xorcolour(colour1,colour2[,···])  
  R-g-b of the color of the form to the XOR operator. Returns only colour1 alpha channel.  
  R-g-b of the color of the form to the XOR operator. Returns only colour1 alpha channel.  
  colour1 xor colour2 xor colour3・・・xor colourN  
  colour1 xor colour2 xor colour3···xor colourN  
 


== General-purpose system function ==


● General-purpose system function
  Basically, [Track list] [Group header] [Per Second] [Group row] [Min item num] [Popup] valid.  
  Basically, [Track list] [Group header] [Per Second] [Group row] [Min item num] [Popup] valid.  


  $ getgroupformat (group_index)  
  $getgroupformat(group_index)  
  group_index groups are specified in a group format and return the result as TF.  
  group_index groups are specified in a group format and return the result as TF.  
  group_index: to specify the group or what number (counting from 0).  
  group_index: to specify the group or what number (counting from 0).  
Line 907: Line 905:




  $ findfile (path, [path2, path3 ,...])  
  $findfile(path,[path2,path3,...])  
  path (wildcards accepted) to be specified in the file exists, returns the first file.  
  path (wildcards accepted) to be specified in the file exists, returns the first file.  
  If you do not have the file does not return anything. (Strictly speaking, "false" returns)  
  If you do not have the file does not return anything. (Strictly speaking, "false" returns)  
Line 913: Line 911:




  $ el_scale (val, factor [, DIV])  
  $el_scale(val,factor[,DIV])  
  val * factor/100 or val * factor / DIV returns.  
  val * factor/100 or val * factor / DIV returns.  
  val and the overflow factor is too large.  
  val and the overflow factor is too large.  
Line 919: Line 917:




  GDI drawing functions of  
  ? GDI drawing functions of $drawtext..
  Using the GDI to draw. Simple minutes, may be faster.  
  Using the GDI to draw. Simple minutes, may be faster.  


  $ drawtext (text, x, y, W, H, r-g-b, OPTIONS)  
  $drawtext (text, x, y, W, H, r-g-b, OPTIONS)  
  GDI text drawing functions  
  GDI text drawing functions  
  Text coordinates (x, y) in output  
  Text coordinates (x, y) in output  
Line 932: Line 930:




  $ drawtextex (text, x, y, W, H, r-g-b, OPTIONS)  
  $drawtextex(text,x,y,W,H,r-g-b,OPTIONS)  
  GDI drawing functions text_2  
  GDI drawing functions text_2  
  Text coordinates (x, y) in output  
  Text coordinates (x, y) in output  
Line 943: Line 941:
  end_ellipsis If you clip text, replace the end of the text ...  
  end_ellipsis If you clip text, replace the end of the text ...  
   
   
  Example: $ drawtextex (text, 0,0,% _width%,% _height% ,0-0-0, hcenter vcenter end_ellipsis)  
  Example: $drawtextex(text,0,0,%_width%,%_height%,0-0-0,hcenter vcenter end_ellipsis)  




  $ gettextwidth (text, [FONTNAME, SIZE, OPTIONS])  
  $gettextwidth(text,[FONTNAME,SIZE,OPTIONS])  
  GDI (drawtext, drawtextex) returns the width in the text when drawing horizontal text.  
  GDI (drawtext, drawtextex) returns the width in the text when drawing horizontal text.  
  can specify the font ($ font option). specified font is optional  
  can specify the font ($ font option). specified font is optional  




  $ gettextheight ([FONTNAME, SIZE, OPTIONS])  
  $gettextheight([FONTNAME,SIZE,OPTIONS])  
  GDI returns vertical width of text when drawn.  
  GDI returns vertical width of text when drawn.  
  can specify the font ($ font option). specified font is optional  
  can specify the font ($ font option). specified font is optional  




  $ fillrect (x, y, w, h, r-g-b, RESERVED)  
  $fillrect(x,y,w,h,r-g-b,RESERVED)  
  Filled rectangle function  
  Filled rectangle function  




  $ fillroundrect (x, y, w, h, w2, h2, r1-g1-b1, r2-g2-b2)  
  $fillroundrect(x,y,w,h,w2,h2,r1-g1-b1,r2-g2-b2)  
  Function of the fill rectangle with rounded corners  
  Function of the fill rectangle with rounded corners  






■ ■ ■ Popup system function ■ ■ ■
== Popup system functions ==
  [Popup (Background)], [Popup (Track)] domain.  
  [Popup (Background)], [Popup (Track)] domain.  


  $ popupsize (w, h)  
  $popupsize(w,h)
  Pop-up function to reduce the size.  
  Pop-up function to reduce the size.  
  In other words,  
  In other words,  
Line 976: Line 974:




  $ popuphide ()  
  $popuphide()  
  Do not pop up.  
  Do not pop up.  
  At that point and call it once and decided not to pop up.  
  At that point and call it once and decided not to pop up.  




  $ popuptracknum (num)  
  $popuptracknum(num)
  The maximum number of tracks to reduce the num treatment.  
  The maximum number of tracks to reduce the num treatment.  
  Popup (Background) only available.  
  Popup (Background) only available.  

Revision as of 17:19, 16 October 2010

Foobar2000_Logo.png

foobar2000 v0.9.5.1+, Columns UI 0.3+

Requirements


Read me (translated from the Japanese original)

foo_uie_elplaylist.dll v0.6.4.2beta

for foobar2000 v0.9.5.1 +, Columns UI0.3 +, WindowsXP + 
(tested WindowsXP, only) 
SDK version 
foobar2000 :2008-07-20 
       cui: 6.3 

ELplaylist panel provides a single columns playlist like Columns UI for the Playlist view. It consists of a section for each track of the playlist and grouping section for all elements of a given set.

In order to change its settings, right-click on any playlist item and choose the Settings ... dialog. (At least General -> Title format Processor -> __ART_PATH__ you have bad balance and do not set the path to the images in the album.) To edit the settings, Titleformat (TF) knowledge is required. About Titleformat Please refer to the descriptions of other sites separately.

Setting Items

[Script] 
Customize your drawing inside the lines of the list. 
title format script presets: to control the drawing and describe the TF. Settings can be registered. 
Track list 
To control the drawing of the track line TF. 
Group header 
To draw the header control group TF. 
Per Second 
To control the line drawn in the second track is updated play TF. (Now playing info in the TF system can be used.) 
Popup (Background) 
Pop-up window to control the drawing of TF. Popup (Track) will be executed before. 
Most of the extended field use. 
Popup (Track) 
Unit to control the drawing of the track pop-up window TF. Popup header when the group will be executed for each track in the group. 
Most of the extended field use. 
The origin of BOPPUAPPU, header or group, please send the track to determine% el_is_group%. 
Also, if the group header,% el_item_index% Please shift your position. 
[Note]: Popup after updates have been implemented in the version from the version that is not implemented, 
Opens a dialog and set the default Popup Titleformat is no longer what it was reset, and is by design. 
In this state, and to save the settings, Popup will not appear on anything. 
Graphical Browser Popup features are quite helpful. If you have problems, HAZUSHIMASU. 
In entering the default description is the assumption that there is a picture album. 
General-> title format preprocessor-> ART.PATH please set the path to the appropriate image. 
For example C: \ image \% album%. Jpg and. 


[style] 
Custom background colour: 
Specify a custom background color. 
Total: Specifies the background color of the whole. 
odd item: Specifies the background color and several odd. 
even item: Specifies the background color for even-numbered lines. 
selected item: Specifies the background color of selected rows. 
playing item: Specifies the background color of the track playing. 
selected playing item: Specifies the background color of selected tracks?KATSU play. 
odd and even item for the right padding and left padding can be drawn in the area. 
Odd and even are calculated by the list index: 
on when the odd / determined in an even row number of the list. 
off time is determined by order of the group. 
? change to display the character, script editing only. 
Default font ...: 
Please specify the default font. 
Pseudo transparent: 
And a pseudo-transparent background. I tend to be heavier to process. 
(If severe, may be better to narrow the viewing area. 
No I do not use it to optimize the authors···) 
Enable Visual Style: 
The background of the line and automatically draws VisualStyle. Primarily for Windows Vista. 
After drawing a custom background colour, title format script will be drawn prior to evaluation. 
Text color does not change automatically. 
Scrollbar: 
Status of the scroll bar settings: default (auto show / hide switch) / hide (displayed) / show (always displayed), 
School and set the volume (0 is the system default). 
[Grouping] 
And customized for the group, you can customize the display of the list across multiple lines. 
group by: a set of preset can be saved as. 
Group format: 
Grouping for each track describes Titleformat. 
TF as a group that tracks the same flight as a result. 
The group format is the same, leaving tracks on the playlist that is treated as a different group. 
"|||" in a group format to split, you can set up the group hierarchy. 
Example:% album artist %|||% album% 
The group with the child group, there are constraints that can not be assigned a truck. 

?RI?TEYOU and tracks such groups, is inserted DAMIGURUPUHEDDA.

Are written in some detail at the end of this text. 
Sort format: 
Sort in the playlist for Titleformat described. 
execution of the sort is done from the context menu. 
Note: It does not automatically execute the sort. 

Row height: 
In a list and set the height of the base line. 


Row number of group header: 
"row height" and set the height of the header unit of the group. 
Titleformat is enabled. TF figures as a result of the process (0-16) should return. 
The height of the header for this group, always an integral multiple of row height (0-16 times). 
[Note: the group with a track, group row is evaluated. 
Minimum row number of group: 
You can set the minimum number of lines in each group. 
For example, you can use to ensure the scope and application of images to reduce the number of albums and tracks. 
Titleformat is enabled. TF as a result of the process must return a value of 0. 
After grouping, this value is less than the number of tracks in the group, empty rows and then inflated. 
Note: the group with a track, min item num will be evaluated. 
The line is empty, Track list Titleformat at $ enabledraw () as long as you do not use the feature will be drawn off. 
If you want to draw the line as well as other effective, $ enabledraw (1) and, drawing on the features please. 
Track list Titleformat the empty line will be evaluated using only the last track of the group. 
Playlist filter: 
enable playlist filter is on, the name of the playlist from the playlist when?RI?WATTA the group by preset can be selected automatically. 
enable all playlists in the playlist of all the active preset. 
If you enable only on the playlist name matches the specified preset is enabled. 
If you disable on the playlist name matches the specified preset is disabled. 
preset determines the priority order of the list. 
? The name of the playlist specified, ";" that can be separated by more than one. TF or wild card is invalid. 
Associated titleformat script name: 
This preset tileformat scrpit???KETAI and the name of a single set. 


Enable playlist filter: 
playlist from the playlist filter name to enable you to group by preset automatically selected. 
Prioritize active preset: 
Find a preset valid time has now selected the first group by preset priority. 
[field definition] 
Title format preprocessor: 
Each Titleformat [Track list] [Group header] [Per Second] [Popup (Background)] [Popup (Track)] [row number of group header] [minimum row number of group] 
Before evaluating, field and displacement. 
Titleformat each set may be useful to refer to a common code. 
foo: C: \% album%. jpg and if you set, 
% Foo% Titleformat each of the C: \% album%. Jpg will be substituted. 
[Behaviour] 
Click action: 
You can change your behavior when you click on the playlist. 
Mouse hover action: 
You can run when the mouse stops for a while. 
Enable hover: 
Mouse hover action for on / off can be. 
Delay: 
Will stop the mouse from the mouse hover action to implement a delay. 
Display only the focused group: 
Show only a focus group. Other panel playlists (Graphical Browser or) is predicated on collaboration. 
Collapse all groups when playlist is changed: 
Close the group by default. 
Threshold of number of groups: 
Close the Group when more than this number the number of groups. 
Auto-collapse: 
Close the Group other than focus groups. 
This option is on a group header in a single click to see the track line / switch that you hide. 
Click the Action Group in the open does not close automatically. 
If you want to follow the track playback, Playback / Cursor Follows Playback Please use a combination. 
Allow collapsing group with no group header: 
No group header (group row 0) in the group to close it. 
disable focus change by single click at group header 
Group headers and empty line in a single click when you stop to move the focus. 
Update every second: 
The tracks play Enabling Per Second. More precisely, the second update of the drawing of the unit on / off only. 
Move items with drag and dop: 
Drag & Drop the selected tracks to go. 
But this option is off, [Alt] while pressing the Drag & Drop, you can move on. 
Enable incremental search: 
According to key inputs, group format (% el_group_format%) and incremental search. 
Keyword search is logged in the status bar. 
Also, you did not enter a second valid key, your search terms are automatically reset. 
See also SHOTOKATTOKIBAINDO. 
IME in XP then I will support as possible to find it in Japanese. 
Alphabet in Vista (ASCII) may only search. (Originally I???work with Vista.) 
If you want to search for Vista in non-ASCII, Ctrl-f search DAIAROGUBESU it is possible, please use there. 

Resize quality: 
Enlarge Image / You can set the quality down. 
If you just want a quality, HighQualityBicubic would be good if you have. 
Context menu: 
KONTEKISUTOMEYU each (right-click menu) to display the item, you can set up or not. 


[misc] 
Popup 
Pop-up mouse hover action is executed. 
Max size: 
The maximum size of the popup. Titleformat small can. 
Popup opacity: 
Opacity of the popup. 0 will be completely transparent and you will not be displayed. 
Fade-in: 
TSUKEMASU a fade effect when viewed. I made quite appropriate. (Vista will fade in the default?) 
Enable colorkey: 
Set the color key. The transparent color is set. Same background color (default) if the background is transparent. 
However, it is anti-aliasing, transparency is not beautiful. 
Prevent going outside of display 
To avoid as much as possible out of the pop-up display. Multi-Display is not supported. 

Max track num: 
Popup (Track) limit the number of trucks running. 
Popup the Titleformat script, 
Popup (Background) -> Popup (Track) -> Popup (Track) ->···
Runs. 
Additional sort format 
Sort of context menu to add the item to set the sort format. 
Group by preset and is independent. 


Keyboard Shortcuts

Ctrl-c: Copy 
Ctrl-v: Paste 
Ctrl-x: Cut 
Ctrl-a: select all 
Ctrl-f: Find dialog (% el_group_format% of your search) 
Ctrl-g: Go to the following groups: 
Ctrl-b: Go to the previous group 
Delete: remove a track from the playlist 
Alt-[Up] / [Down]: Move the selected track ( "hide all items when playlist is changed" is that it is off) 
[Note]: foobar2000 body of General-> Keyboard Shortcuts settings will take precedence. 
# # [Alt] + Drag & Drop, you can move the selected tracks. 
¦ incremental search 
Keystrokes group format (% el_group_format%) or incremental search. (enable incremental search is on only) 
The following shortcuts are available. 
Ctrl-e: to reset the search keywords. 
Ctrl-d: Find Next. (Ctrl-s if I could spare a···) 
Ctrl-r: find. 

Main Menu Options (View->ELPlaylist)

All panels will be affected by selecting a menu item here.

Show now playing: Scroll to the track so that you are playing. 
Show focused item: Scroll to see the focus track. 
Expand all groups: Expand all groups. 
Collapse all groups: Close all of the groups. 
Refresh: redraw causes the explicit. 

Extended Command Reference

Please refer also to foobar's default titleformat Reference

Fields

%el_width% 
Returns the width of the viewing area of the line 
[Track list] [Group header] [Per Second] [Popup] 


%el_height% 
Returns the height of the viewing area of the line. 
(Line group% el_height% =% el_group_row% *% el_row_height% 
Track line% el_height% =% el_row_height%) 
$ Setworldtransform () is affected. 
[Track list] [Group header] [Per Second] [Popup] 


%el_isplaying% 
Whether during playback 
[Track list] [Group header] [Per Second] 


%el_selected% 
On whether the selected playlist 
[Track list] [Per Second] 
click action of the Select group whether the selected group 
[Group header] 


%el_focused% 
Focus on whether or not in the playlist 
[Track list] [Per Second] 


%el_row_height% 
Returns the height of the basic line. 
(% El_height% header line is a different group.) 
[Track list] [Group header] [Per Second] 


%el_group_row% 
The group header row height% el_row_height% or one minute. 
The group header% el_height% =% el_group_row% *% el_row_height% of 
[Track list] [Group header] [Per Second] 


%el_item_count% 
Number of tracks in the group 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 
[Popup] 


%el_item_count2% 
number of empty trucks in the group that contains the line 
[Track list] [Group header] [Per Second] 
Number of tracks processed in Popup 
[Popup] 


%el_direct_item_count% 
Do you track the number of directly assigned to the group. 
Except in special cases, a group with a sub-group will be 0. 
The group does not have a sub-group,% el_direct_item_count% =% el_item_count% and (should). 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


%el_item_index% 
The index tracks the group (counting from 0) 
The line does not count up empty. 
[Track list] [Per Second] [Popup] 


%el_item_index2% 
The index tracks the group (counting from 0) 
Count up the line is empty. 
[Track list] [Per Second] 


%el_total_group_count% 
Number of groups (number of headers for all groups) 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


%el_total_group_index% 
Index group (index group headers in the list) 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


%el_group_count% 
Number of groups that belong to the same parent group 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


%el_group_index% 
The index of the group as seen from a parent group (counting from 0) 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


%el_group_depth% 
The depth of the current group (counting from 0) 
[Track list] [Group header] [Per Second] [Group row] [Min item num] [Popup] 


%el_subgroup_count% 
The number of subgroups 
Number of groups of children, grandchildren and the number of groups are not counted. 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


%el_subgroup_count2% 
Cumulative number of subgroups 
Be counted against the group after the grandchildren. 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


%el_group_format% 
The current group of the TF group format in the process and return the result. 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


%el_is_collapsed% (% el_is_hide_item%) 
Whether to close the group. 
(Whether or not display the group header only) 
[Group header] [Group row] 


%el_is_empty% 
Empty or no go. 
(Just opposite% el_is_valid%) 
[Track list] [Per Second] 
Well if you can not configure the sub-group structure, or whether groups can go into a dummy. 
[Group header] [Group row] [Min item num] 


%el_is_valid% 
Valid (empty lines are not), or no go. 
[Track list] [Per Second] 
[Group header] [Group row] [Min item num] 


%el_is_noheader% 
Do not you have a group header 
(% El_group_row% to 0 if 1) 
[Track list] [Per Second] 


%el_sum_length% 
Total length of the track of the group [hh:] mm: ss 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


%el_sum_length_seconds% 
Total length of the track of the group (s) 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


%el_backcolour% 
The background color back in the r-g-b format. 
R-g-b-a if you want to format, 
%el_backcolour% -192 can add value and alpha. 
[Track list] [Group header] [Per Second] 


%el_preset_index% 
The current group by the preset index returns. 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


%el_preset_name% 
Returns the current group by the preset name. 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


%el_is_group% 
Popup whether the group header. 
[Popup] 


%el_popup_width%,% el_popup_height% 
Size pop-up at that time. 
% el_width%,% el_height% note that the max size is returned. 
[Popup] 


%el_is_themed% 
Whether or not enable Visual Style valid 
[Track list] [Group header] [Per Second] [Group row] [Min item num] 


Functions

? Draw control function 
[Track list], [Group header], [Per Second], [Popup] valid. 
$font (name, size, OPTIONS) 
Font settings. 
OPTIONS: bold italic underline strikeout 
Example: $font(Tahoma, 10, bold italic) 


$drawstring(text, x, y, W, H, rgba, OPTIONS [, OPTIONS2]) 
String drawing functions. 
Text coordinates (x,y) to draw on. 
[Note] This function is a string and DrawText drawtextex not only in view. 
Maybe only TrueType fonts. 
OPTIONS: Alain specified, the specified quality of drawing, and to specify the clip. 
Alain left hcenter right specified horizontal 
Alain specified top vcenter bottom vertical 
nowrap not wraparound 
 noaa ClearType and disable anti-aliasing. 
aa put the anti-aliasing mode. ClearType font such as resistance to the anti-aliasing. 
hq high quality rendering mode. ClearType mode. (default) 
If you set the trimming trimchar trimword fit the display range 
elipchar elipword the last to fit the display range If···set to replace the 
mempos getlastpos, to be able to get the coordinates of the drawing. 
OPTIONS2 (optional experimental, experimental option) 
Specifying the terms of the glow effect. 
glow: expand: colour [: strength] glow options 
Expand - [0-5] 
Colour - r-g-b 
Strength - [0-3] glow_aa case of disabled 
Offset: x: y 
X - glow in the horizontal offset 
Y - glow in the vertical offset 
? glow is a heavy process. (Especially the pseudo transparent) 
Example, $drawstring(abcd, 10,10,, ,255-128-64-128,) 
$drawstring(abcd,10,10,,,255-128-64-128,left vcenter,glow :2:255-255-255: 3) 
$drawstring(wxyz,10,10,,,255-255-255,,glow :2:32-168-268: 1 offset: 1:1) 
$drawstring(wxyz,10,10,,,255-255-255,elipchar) 


$ drawrect (x, y, w, h, R1-G1-B1-A1, R2-G2-B2-A2, OPTIONS) 
Rectangular drawing functions. 
Coordinates (x,y) size (w,h) Draws a rectangle. 
R1-G1-B1-A1 internal color 
R2-G2-B2-A2 Border Color 
OPTIONS 
Aa - put ANCHIERIASU 
Example $ drawrect (0,50,50,50,255-128-64-128,, aa) 


$gradientrect (x, y, w, h, r1-g1-b1-a1, r2-g2-b2-a2, OPTIONS, PEAK) 
Gradient fill in the drawing functions in the rectangle. 
Coordinates (x, y) size (w, h) Draws a rectangle. 
R1-g1-b1-a1 Gradient start color 
R2-g2-b2-a2 peak color gradient 
OPTIONS 
Vertical gradient of vertical 
Gradient horizontal horizontal 
Aa put ANCHIERIASU 
how nonlinear nonlinear gradient 
PEAK: 0-100 
Shifted the peak position of the gradient. 
0 by default, to end at peak color. 
50 When is the peak of color. 
Example: $ gradientrect (0,50,50,50255-128-64-128255-255-255, vertical aa) 
$gradientrect (0,50,50,50255-128-64-128255-255-255,, 10) 


$drawblurrect (x, y, w, h, colour, level) 
Filling a rectangle drawing functions to blur the outline. 
Level [1-7] 


$drawfocusrect (x, y, w, h) 
Function to draw a dotted line shows the focus rectangle frame specified. 


$drawthemerect (x, y, w, h, control_name, partId, stateId) 
Visual Style in a rectangle with a control (button or progress bar) function to draw. 
The only practical to draw a picture may be low. 
Visual Style not defined in control will not be drawn. 
At least WindowXP required. 
control_name: Specify the name of the type of control you want to draw. One of the following. 
window button rebar toolbar status listview header progress tab trackbar tooltip treeview spin scrollbar 
edit combobox taskbar taskband startpanel explorerbar 
PartId: the parts you want to draw ID. Could we use the following number in the range for each control as a guide. 
In most cases, less than what I have defined. 
Window: 1-37 
Button rebar listview tooltip: 1-5 
Toolbar: 1-6 
Status treeview taskband: 1-3 
Header spin: 1-4 
Progress: 1-4 
Tab trackbar scrollbar :1-10 
Edit: 1-2 
Combobox: 1 
Taskbar: 1-8 
Startpanel: 1-11 
Explorerbar: 1-12 
StateId: the state and selected ID. If the component does not have to specify the state is 0. 
stateId is 0 or 1 or 2 would not be drawn in, the parts are not defined. 
Example: 
        Vista Then, apply the style of Windows Explorer. 
$drawthemerect(0,0,%el_width%,%el_height%,listview,1,1) // default 
$drawthemerect(0,0,%el_width%,%el_height%,listview,1,2) // hot 
$drawthemerect(0,0,%el_width%,%el_height%,listview,1,3) // selected 
$drawthemerect(0,0,%el_width%,%el_height%,listview,1,4) // disable 
$drawthemerect(0,0,%el_width%,%el_height%,listview,1,5) // notfocused selected 
$drawthemerect(0,0,%el_width%,%el_height%,listview,1,6) // hot selected 
$drawthemerect(0,0,%el_width%,1,listview,7,0) //group header line 
$drawroundrect (x, y, w, h, w2, h2, R1-G1-B1-A1, R2-G2-B2-A2, RESERVED) 
Draw a rectangle rolled angle function. 
Coordinates (x, y) size (w, h) to draw a rectangle with the corners rolled. 
Rounded the corner, w2, h2 can be adjusted. 
w> 4 * w2 & & h> 4 * h2 satisfy the need. 
R1-G1-B1-A1 internal color 
R2-G2-B2-A2 Border Color 
    Example $ drawroundrect (10,20,50,50,4,4255-255-128-255,,) 


$ drawellipse (x, y, w, h, R1-G1-B1-A1, R2-G2-B2-A2, RESERVED) 
Ellipse drawing functions. 
Coordinates (x, y) size (w, h) draws an ellipse. 
R1-G1-B1-A1 internal color 
R2-G2-B2-A2 Border Color 


$ drawtriangle (x1, y1, x2, y2, x3, y3, R1-G1-B1-A1, R2-G2-B2-A2, OPTIONS) 
(x1, y1), (x2, y2), (x3, y3) Draw a triangle and vertex function. 
R1-G1-B1-A1 internal color 
R2-G2-B2-A2 Border Color 
OPTIONS 
Aa - put ANCHIERIASU 
Example: $ drawtriangle (10,5,20,10,10,15200-100-100,, aa) 


$imageabs (x, y, w, h, path, OPTIONS, n, alpha, OPTIONS2) 
Coordinates (x, y) size (w, h) show the images in the path is specified. 
Retained in memory and after resizing the image, if you raise the efficiency of the process see below. 
The image is referenced, the memory is removed from them. 
w, h in the original image size is omitted, and the cache. 
(However, w, h if you are already cached in memory and then the image size to be directly cached) 

?ITAI a reduced rate if more than one

Poor quality and will be expanded after the reduction. 
Nodisplay noexpansion and use, 
Cache memory may be the largest reduction in the rate of reduction in the rate of use. 
If there are images true, if false is returned. 
Dipsplays the image specified by path. 
after the image is resized, it is cached on the memory. 
path: absolute path of the image (or an embedded image of AudioFile path) 
OPTIONS 
¦ <appearance> 
nokeepaspect not maintain the aspect ratio (nodisplay, archive, icon options and non-exclusive). 
Hide nodisplay read only memory. 
noexpansion will reduce, not increase. 
¦ <align> exclusive. 
Left right horizontal aryne specified. 
Specify vertical aryne top bottom. 
¦ <misc> 
wc wildcard (*,?) enabled. 
¦ <read engine> exclusive. 
archive archive reader through the path of the images. 
The format of the archive reader is path dependent, the absolute path of the archive | base path in the archive file. 
Example: C: \ aaa \ image.zip | bbb / ccc.jpg 
icon path is specified in the icon file (*. ico) to appear. 
Audio artreader path specified by the embedded image file foobar2000 loaded at the core of the artwork reader. 
If you do not have embedded images, Audio files to load the images folder. However slow. 
Audio artreader_front path specified by the embedded image file foobar2000 loaded at the core of the artwork reader. 
Audio artreader_back path specified by the embedded image file foobar2000 loaded at the core of the artwork reader. 
Audio artreader_disc path specified by the embedded image file foobar2000 loaded at the core of the artwork reader. 
Audio artreader_icon path specified by the embedded image file foobar2000 loaded at the core of the artwork reader. 
(artreader *** are currently disrecommended options because these option seem to be slow) 
N rotateflip Index for 
One ninety 
2: 180 
3: 270 
4: flip horizontal 
Five ninety + flip horizontal 
6: Flipped vertically 
Seven ninety Flip Vertically + 
Alpha 0-255 
Opacity 
OPTIONS2 (shadow effect) 
Glow: expand: colour 
Offset: x: y 


Example $imageabs(10,10,50,50,C:\%album%.Jpg) 
        $imageabs(10,10,50,50,C:\%album%.jpg,lefttop)
        $imageabs(10,10,50,50,C:\%album%.jpg,,6)
        $imageabs(10,10,50,50,C:\%album%.*,wc,6) 
        $imageabs(10,10,50,50,C:\%album%.jpg,bottom,,128)
        $imageabs(10,10,50,50,C:\%album%.jpg,bottom,,,glow :2:0-0-0 offset: 4:4) 
        $imageabs(10,10,50,50,%path%,artreader) 


$imageabs_rc(rw,rh,srcx,srcy,srcw,srch,x,y,path,OPTIONS,n,alpha,OPTIONS2)
To view the clip and resize images. 
path specified by the image size (rw, rh) after resizing, 
Portion of the area (srcx, srcy, srcw, srch) coordinates (x, y) size (srcw, srch) to display. 
In memory (rw, rh) cache. 
When you evaluate the TF (rw, rh) with changes in, to refresh the image. 
Therefore, rw, rh is to specify a fixed value. 
If there are images true, if false is returned. 
OPTIONS (imageabs). 
nokeepaspect not maintain the aspect ratio 
Hide nodisplay read only memory 
Archive 
Icon 
    (Left 
      Hcener 
       Right 
       Top 
       Vcenter 
           bottom) 
N rotateflip Index for 
One ninety 
2: 180 
3: 270 
4: flip horizontal 
Five ninety + flip horizontal 
6: Flipped vertically 
Seven ninety Flip Vertically + 
Alpha 0-255 
        Opacity 
   
Example: 
$imageabs_rc(200100,0,0100,50,10,10,C:\%album%.jpg,,6192) 
$imageabs_rc(200100,0,0200100,10,10,C:\%album%.jpg,,) (=$imageabs(10,10200100,C:\%album%.jpg,lefttop,,)) 
$imageabs_rc(150120,0,0150120,20,15,C:\%album%.jpg,hcenter vcenter,) (=$imageabs(20,15150120,C:\%album%.jpg,,,)) 

Additional drawing functions

$getlastpos(elem) 
Display function imageabs, imageabs_rc right after, to get the coordinates to draw a picture. 
Also, measurestring use them when you get the results. 
If you are drawString, mempos available only immediately after the specified coordinates. 
   Elem element to retrieve. 
X: left 
Y: top 
W: width 
H: height 
R: right 
B: bottom 
Example: 
$Setworldtransform (2) 
$puts(img_path, C: \% album%. Jpg) 
$imageabs(10,4100100, $ get (img_path), top noexpansion,) 
$imageabs($getlastpos(x),$getlastpos(b),$getlastpos(w),20, $ get (img_path), top nokeepaspect, 6) 
$gradientrect($ getlastpos (x), $ getlastpos (y), $ getlastpos (w), $ getlastpos (h),% el_backcolour% -128,% el_backcolour% -255) 
$Setworldtransform(0) 


$measurestring(text,x,y,W,H,OPTIONS) 
$drawstring to calculate the area when drawing text. 
As a result, returns to the horizontal width of the viewing area. 
The display area is to get $ getlastpos. 
OPTIONS is the same as $ drawstring. 
Also, drawstring in, glow_aa glow if put in effect, 
Measurestring see the range of results and may not match. 


$getimagewidth(path),$getimageheight(path)
The image path is specified in $ imageabs $ imageabs_rc of cache memory 
If the image has been resized in the horizontal width and vertical width returns. 
This means that only have $ imageabs $ imageabs_rc behind. 
nokeepaspect may be able to calculate the aspect ratio should be applied. 


$setcoordinate(mode)
$setcoordinate(0,X,Y,W,H)
$setcoordinate(1,X,Y,R,B) 
Drawing function argument "(x,y,w,h)" designated by a, (x,y,right,bottom) change the designation. 
$imageabs_rc and $drawtriangle for the disabled. 
The X, Y, W, H is specified, you can change the default position if the specified coordinates omitted in the drawing functions. 
$imageab, $imageabs_rc and $drawtriangle for the disabled. 
Mode: Specifies the coordinate mode 
0 default (x, y, w, h) 
1 (x, y, right, bottom) 
 (x, y )<------ w -------> 
    |----------------| 
    | | 
  h | | 
    | | 
    |________________| 
                    (right, bottom) 


$ setworldtransform (mode) 
Changing the coordinate system. 
We can draw a line in another coordinate system is not changed. 
Group should be useful when you do multiple tracks and draw MATAIDA whole. 
Enabled to view images. 
Popup prohibited. 
(TF see early examples.) 
Mode 
0: default 
The origin of each track (x, y) = (0,0), the top left of each track. 
1: group common coordinate system 
Group and the origin of each track (x, y) = (0,0) Group and the upper left of the line. 
%el_height% = (%el_item_count2%+%el_group_row%)*%el_row_height% will. 
2: item list of common coordinate system 
The origin of each track (x, y) = (0,0) and upper left of the group's first line of the track. 
%el_height% =%el_item_count2% * %el_row_height% will. 
default 
  (0,0) 
     |----------------| 
     |________________| 
                    (el_width, el_height) 
common coordinate system group 
  (0,0) 
     |----------------| 
     | Group header | 
     |----------------| 
     |----------------| 
     |----------------| 
     |----------------| 
     |________________| 
                    (el_width, el_height) 
item list of common coordinate system 
     |----------------| 
     | Group header | 
(0,0 )|----------------| 
     |----------------| 
     |----------------| 
     |----------------| 
     |________________| 
                    (el_width, el_height) 


$ enabledraw (mode) 
System function draw ($ draw **** or $ imageabs **) to control whether or not the drawing. 
Called back to the drawing of this function on / off. 
Mainly used to control the drawing of the empty line. 
Mode 
0: disable the function of drawing 
1: Enable 
Example: $enabledraw(1) 
$Enabledraw (%el_is_valid%) 


$getsyscolour(index) 
The r-g-b color system in the form of returns. 
index: [0-30] color index system 


$averagecolour (colour1, colour2 [,···]) 
R-g-b-a to the average color of the form. 
(Colour1 + colour2 +···) / N 


$blendcolour(colour1,w1,colour2,w2,[,···]) 
R-g-b-a return with the average weight in the form. 
(w1 * colur1 + w2 * colour2 +···+ wN * colourN) / (w1 + w2 +···+ wN) 


$addcolour(colour1,colour2[,···]) 
R-g-b-a to add the color of the form. 

···Colour1 + colour2 + + colourN


$subcolour(colour1,colour2[,···]) 
R-g-b-a to form a color subtraction. 
Colour1 - colour2 - colour3···- colourN 


$xorcolour(colour1,colour2[,···]) 
R-g-b of the color of the form to the XOR operator. Returns only colour1 alpha channel. 
colour1 xor colour2 xor colour3···xor colourN 

General-purpose system function

Basically, [Track list] [Group header] [Per Second] [Group row] [Min item num] [Popup] valid. 
$getgroupformat(group_index) 
group_index groups are specified in a group format and return the result as TF. 
group_index: to specify the group or what number (counting from 0). 
% el_group_format% = $ getgroupformat (% el_total_group_index%) relationship. 


$findfile(path,[path2,path3,...]) 
path (wildcards accepted) to be specified in the file exists, returns the first file. 
If you do not have the file does not return anything. (Strictly speaking, "false" returns) 
Path can be specified. 


$el_scale(val,factor[,DIV]) 
val * factor/100 or val * factor / DIV returns. 
val and the overflow factor is too large. 


? GDI drawing functions of $drawtext..
Using the GDI to draw. Simple minutes, may be faster. 
$drawtext (text, x, y, W, H, r-g-b, OPTIONS) 
GDI text drawing functions 
Text coordinates (x, y) in output 
OPTIONS 
Alain left hcenter right specified horizontal 
Alain specified top vcenter bottom vertical 
Not noclip clip 


$drawtextex(text,x,y,W,H,r-g-b,OPTIONS) 
GDI drawing functions text_2 
Text coordinates (x, y) in output 
OPTIONS 
Alain left hcenter right specified horizontal 
Alain specified top vcenter bottom vertical 
Not noclip clip 
Allow specified wrap wraparound (vcenter, bottom and exclusive) 
end_ellipsis If you clip text, replace the end of the text ... 

Example: $drawtextex(text,0,0,%_width%,%_height%,0-0-0,hcenter vcenter end_ellipsis) 


$gettextwidth(text,[FONTNAME,SIZE,OPTIONS]) 
GDI (drawtext, drawtextex) returns the width in the text when drawing horizontal text. 
can specify the font ($ font option). specified font is optional 


$gettextheight([FONTNAME,SIZE,OPTIONS]) 
GDI returns vertical width of text when drawn. 
can specify the font ($ font option). specified font is optional 


$fillrect(x,y,w,h,r-g-b,RESERVED) 
Filled rectangle function 


$fillroundrect(x,y,w,h,w2,h2,r1-g1-b1,r2-g2-b2) 
Function of the fill rectangle with rounded corners 


Popup system functions

[Popup (Background)], [Popup (Track)] domain. 
$popupsize(w,h)
Pop-up function to reduce the size. 
In other words, 
W <max size (width) 
H <max size (height) 
Must satisfy. 


$popuphide() 
Do not pop up. 
At that point and call it once and decided not to pop up. 


$popuptracknum(num)
The maximum number of tracks to reduce the num treatment. 
Popup (Background) only available. 


[Note]: drawstring with DrawText and drawtextex 
         Characters are drawn in different ways, good and bad points. 
        And not even being able to function at all (probably) is not a bug. 
        DrawText problem now is if I do not use. 
[Aside]: I take the argument to the rgba color function in a format other than $ rgb (r, g, b) can be longer (should). 
        DrawText The only argument in the text, $ rgb $ transition function and can specify the color using the function (should be).


External links