Minor fixes.

This commit is contained in:
meffi@lab313.ru
2014-04-28 14:12:30 +00:00
parent 00585ad31c
commit 29ba53143e
7 changed files with 17 additions and 15 deletions

View File

@@ -23,7 +23,8 @@
<UseVersionInfo Value="True"/>
<AutoIncrementBuild Value="True"/>
<MajorVersionNr Value="1"/>
<RevisionNr Value="78"/>
<RevisionNr Value="79"/>
<BuildNr Value="5"/>
<StringTable CompanyName="Lab 313" FileDescription="The best TIMs tool ever!:)" ProductVersion=""/>
</VersionInfo>
<BuildModes Count="6">
@@ -364,11 +365,12 @@
<OverflowChecks Value="True"/>
<StackChecks Value="True"/>
</Checks>
<TargetCPU Value="x86_64"/>
<TargetOS Value="win64"/>
</CodeGeneration>
<Linking>
<Debugging>
<DebugInfoType Value="dsDwarf2Set"/>
<UseExternalDbgSyms Value="True"/>
</Debugging>
<Options>
<Win32>

View File

@@ -26,8 +26,8 @@
<IsVisibleTab Value="True"/>
<EditorIndex Value="0"/>
<WindowIndex Value="0"/>
<TopLine Value="235"/>
<CursorPos X="49" Y="244"/>
<TopLine Value="288"/>
<CursorPos X="36" Y="297"/>
<UsageCount Value="816"/>
<Loaded Value="True"/>
<LoadedDesigner Value="True"/>
@@ -54,7 +54,7 @@
<EditorIndex Value="3"/>
<WindowIndex Value="0"/>
<TopLine Value="1"/>
<CursorPos X="35" Y="6"/>
<CursorPos X="56" Y="8"/>
<UsageCount Value="816"/>
<Loaded Value="True"/>
</Unit4>
@@ -86,8 +86,8 @@
<UnitName Value="usettings"/>
<EditorIndex Value="9"/>
<WindowIndex Value="0"/>
<TopLine Value="81"/>
<CursorPos X="55" Y="92"/>
<TopLine Value="80"/>
<CursorPos X="67" Y="88"/>
<UsageCount Value="816"/>
<Loaded Value="True"/>
</Unit7>
@@ -130,8 +130,8 @@
<UnitName Value="udrawtim"/>
<EditorIndex Value="5"/>
<WindowIndex Value="0"/>
<TopLine Value="6"/>
<CursorPos X="49" Y="14"/>
<TopLine Value="222"/>
<CursorPos X="72" Y="238"/>
<UsageCount Value="816"/>
<Loaded Value="True"/>
</Unit11>
@@ -160,7 +160,7 @@
<WindowIndex Value="0"/>
<TopLine Value="7"/>
<CursorPos X="20" Y="16"/>
<UsageCount Value="57"/>
<UsageCount Value="67"/>
<Loaded Value="True"/>
</Unit14>
</Units>

Binary file not shown.

View File

@@ -3,7 +3,7 @@ unit ucommon;
interface
const
cProgramName = 'Tim2View SVN.r77 by [Lab 313] (for ' +
cProgramName = 'Tim2View SVN.r79 by [Lab 313] (for ' +
{$IFDEF Linux}'Linux' + {$IFEND}
{$IFDEF Darwin}'Mac OS X' + {$IFEND}
{$IFDEF Windows}'Windows' + {$IFEND}

View File

@@ -206,6 +206,7 @@ begin
INDEXES := PrepareIMAGE(TIM);
COLORS := GetTimColorsCount(TIM);
COLORS := ifthen(COLORS = 0, 256, COLORS);
IDX := 0;
R := 0;

View File

@@ -247,7 +247,7 @@ begin
if not dlgSavePNG.Execute then Exit;
New(Image);
Image := nil;
Image^ := nil;
Tim2Png(TIM, cbbCLUT.ItemIndex, Image, cbbTranspMode.ItemIndex, True);
SaveImage(dlgSavePNG.FileName, Image, TIMisIndexed(TIM));
FreeTIM(TIM);
@@ -294,8 +294,7 @@ begin
lvList.ItemIndex := 0;
lvList.Items[0].Focused := True;
lvList.Items[0].Selected := True;
//ShowTim;
lvList.Items[0].MakeVisible(False);
end;
procedure TfrmMain.actAboutExecute(Sender: TObject);

View File

@@ -79,7 +79,7 @@ end;
function TSettings.FBackColorRead: TColor;
begin
Result := FIniFile.ReadInteger(sMain, 'BackColor', clBtnFace);
Result := FIniFile.ReadInteger(sMain, 'BackColor', clFuchsia);
end;
procedure TSettings.FBitModeWrite(Mode: Integer);