■吉里吉里/KAG/TJS雑談質問スレ■その19at GAMEDEV■吉里吉里/KAG/TJS雑談質問スレ■その19 - 暇つぶし2ch■コピペモード□スレを通常表示□オプションモード□このスレッドのURL■項目テキスト566:565 09/12/27 20:44:10 z7VKK36+ 上のつつき /*変更*/ function drawLine(n) { // 該当行の文字列を取得 var line = everypage ? getPage(dispStart)[n] : getLine(n + dispStart); if(line=="") return; var linestart = everypage ? getLineStart2(dispStart, n) : getLineStart(n + dispStart); // set char color var charName = ''; if(line.indexOf( charNameHead ) == 0) { // name must be the first place of a line charName = line.substr(charNameHead.length, line.indexOf( charNameTall ) - charNameHead.length); // get the char str if (charTextVar[charName] != "") historyColor = charTextVar[charName]; // special char color else historyColor = newHistoryColor; // normal color } 567:565 09/12/27 20:44:56 z7VKK36+ 最後です // 履歴本体を書く場所 if(verticalView) { x = width - marginR - n*lineHeight - (lineHeight - fontHeight); y = marginT + controlHeight + linestart; } else { x = marginL + linestart; y = n*lineHeight + marginT + controlHeight + (lineHeight - fontHeight); } // new log color drawText(x, y, line, historyColor, 255, antialiased, historyShadowLevel, historyTextShadow, historyShadowWidth, 0, 0); } 何が問題やもっといい方法あれば、私に教えてください^^ 次ページ最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch