void BmsPlayer::drawInterface(unsigned long long time){ DrawFormatString(450, 60, GetColor(255, 255, 255), "GENRE : %s", parser->getHeader("GENRE").c_str()); DrawFormatString(450, 75, GetColor(255, 255, 255), "TITLE : %s", parser->getHeader("TITLE").c_str()); DrawFormatString(450, 90, GetColor(255, 255, 255), "ARTIST: %s", parser->getHeader("ARTIST").c_str()); DrawFormatString(450, 105, GetColor(255, 255, 255), "BPM : %s", parser->getHeader("BPM").c_str()); DrawFormatString(450, 120, GetColor(255, 255, 255), "TIME : %d", time); double visible_area; for (int j = 0; j <= 7; j++){ for (int note_num = visnote_begin.at(j); note_num < visnote_size.at(j); note_num++){ visible_area = ((double)visible_notes(j).at(note_num).second - time) / visible_time; //
C++ DrawFrame函数代码示例
C++ DrawCursor函数代码示例