Ignore:
Timestamp:
Oct 2, 2023, 11:34:35 PM (23 months ago)
Author:
gyoung
Message:

Remaining changes from merge with Lars 2.9 branch

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/classes/mm-progs/MMPlayer/display.c

    r2 r104  
    2121 * If you need another license for your project/product (commercial,
    2222 * noncommercial, whatever) contact me at
    23  * 
     23 *
    2424 * http://www.os2world.com/cdwriting
    2525 * http://www.geocities.com/SiliconValley/Sector/5785/
     
    4242#include <stdio.h>
    4343#include <stdlib.h>
     44#include <string.h>
    4445
    4546/* 0: time, 1: remaining, 2: filename */
     
    8889
    8990
    90 /* This funktion sets the playtime display according to the user settings.
     91/* This function sets the playtime display according to the user settings.
    9192   Supported are remaining time, elapsed time and ID3-tag display */
    92 void setPlayTimeText(hwndFrame)
     93void setPlayTimeText(HWND hwndFrame)
    9394{
    9495  char text[CCHMAXPATH];
     
    112113        /* Show filename */
    113114        text[0]=0;
    114        
     115
    115116        if(ulTemp>=3)
    116117          text[0]=0;
    117118        else if(ulTemp>=0)
    118119          strcpy(text, chrPtrName);
    119        
     120
    120121#if 0
    121122        else
    122123          ulTemp=15; /* Show playtime for midi files */
    123124#endif
    124      
     125
    125126        if(ulTemp>=3||!strlen(text)) {
    126127          /* Play time */
     
    135136        ulDisplayTimer=ulTemp;
    136137        break;
    137        
     138
    138139#if 0
    139140        /* Show ID3 tag */
     
    149150            if(ulTemp>=15)
    150151              text[0]=0;
    151             else if(ulTemp>=12) 
     152            else if(ulTemp>=12)
    152153              methodPtr(cwAudio, &chrPtr, sizeof(text), IDINFO_GENRE);
    153154            else if(ulTemp>=9)
     
    162163          else
    163164            ulTemp=15; /* Show playtime for midi files */
    164          
     165
    165166          if(ulTemp>=15||!strlen(text)) {
    166167            /* Play time */
Note: See TracChangeset for help on using the changeset viewer.