diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-07-14 17:54:54 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-07-14 17:54:54 +0000 |
commit | a0e968dadb9565bc6a10417664b379c65c2dd7f1 (patch) | |
tree | de4ff640fc2d46bc2df03d6a6a9c2f4dfc3c4629 /Game/Code | |
parent | 2248efb1691ddf708cbb69d49d2981091298add6 (diff) | |
download | usdx-a0e968dadb9565bc6a10417664b379c65c2dd7f1.tar.gz usdx-a0e968dadb9565bc6a10417664b379c65c2dd7f1.tar.xz usdx-a0e968dadb9565bc6a10417664b379c65c2dd7f1.zip |
TLine.LyricWidth (width of the line in pixels) is marked as deprecated. Do not use this as the stored width is not correct. Use TLyricsEngine.GetUpperLine().Width instead.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1191 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code')
-rw-r--r-- | Game/Code/Classes/UMusic.pas | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Game/Code/Classes/UMusic.pas b/Game/Code/Classes/UMusic.pas index 38f7d53a..3ef6aca2 100644 --- a/Game/Code/Classes/UMusic.pas +++ b/Game/Code/Classes/UMusic.pas @@ -36,9 +36,11 @@ type *) PLine = ^TLine; TLine = record - Start: integer; + Start: integer; // the start beat of this line (<> start beat of the first note of this line) Lyric: string; - LyricWidth: real; + LyricWidth: real; // @deprecated: width of the line in pixels. + // Do not use this as the width is not correct. + // Use TLyricsEngine.GetUpperLine().Width instead. End_: integer; BaseNote: integer; HighNote: integer; // index of last note in line (= High(Note)?) |