You've already forked lazarus-ccr
tvplanit: VpDayView icons are painted side-by-side now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6437 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -775,7 +775,6 @@ object MainForm: TMainForm
|
||||
Images = ImageList1
|
||||
ImagesWidth = 0
|
||||
ItemFont.Color = clWhite
|
||||
PlaySounds = False
|
||||
SelectedItem = -1
|
||||
SelectedItemFont.Color = clWhite
|
||||
SelectedItemFont.Style = [fsBold]
|
||||
|
@ -48,13 +48,14 @@ uses
|
||||
|
||||
const
|
||||
BuildTime = {$I %DATE%} + {$I %TIME}; //'09/13/2002 09:25 AM';
|
||||
VpVersionStr = 'v1.10'; {Visual PlanIt library version}
|
||||
VpVersionStr = 'v1.12'; {Visual PlanIt library version}
|
||||
VpProductName = 'Visual PlanIt';
|
||||
|
||||
BorderStyles : array[TBorderStyle] of LongInt =
|
||||
(0, WS_BORDER);
|
||||
ScrollBarStyles : array [TScrollStyle] of LongInt =
|
||||
(0, WS_HSCROLL, WS_VSCROLL, WS_HSCROLL or WS_VSCROLL{$IFDEF LCL},0,0,0{$ENDIF});
|
||||
BorderStyles: array[TBorderStyle] of LongInt = (0, WS_BORDER);
|
||||
|
||||
ScrollBarStyles: array[TScrollStyle] of LongInt = (
|
||||
0, WS_HSCROLL, WS_VSCROLL, WS_HSCROLL or WS_VSCROLL{$IFDEF LCL},0,0,0{$ENDIF}
|
||||
);
|
||||
|
||||
SecondsInDay = 86400; { Number of seconds in a day }
|
||||
SecondsInHour = 3600; { Number of seconds in an hour }
|
||||
|
@ -1029,7 +1029,10 @@ var
|
||||
begin
|
||||
ABitmap.Transparent := True;
|
||||
R := Rect(0, 0, w, h);
|
||||
OffsetRect(R, AIconRect.Left + FScaledIconMargin, AIconRect.Top + FScaledIconMargin);
|
||||
OffsetRect(R,
|
||||
AIconRect.Left + FScaledIconMargin + DrawPos,
|
||||
AIconRect.Top + FScaledIconMargin
|
||||
);
|
||||
|
||||
bmp := TBitmap.Create;
|
||||
try
|
||||
@ -1049,10 +1052,10 @@ var
|
||||
end;
|
||||
|
||||
begin
|
||||
DrawPos := 1;
|
||||
DrawIcon(dvBmpCustom, CustomW, CustomH);
|
||||
DrawIcon(dvBmpCategory, CategoryW, CategoryH);
|
||||
DrawIcon(dvBmpAlarm, AlarmW, AlarmH);
|
||||
DrawPos := 0;
|
||||
DrawIcon(dvBmpCustom, CustomW, CustomH, true);
|
||||
DrawIcon(dvBmpCategory, CategoryW, CategoryH, true);
|
||||
DrawIcon(dvBmpAlarm, AlarmW, AlarmH, true);
|
||||
DrawIcon(dvBmpRecurring, RecurringW, RecurringH, false);
|
||||
end;
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
{$I vp.inc}
|
||||
|
||||
unit VpXmlDs;
|
||||
unit VpXmlDS;
|
||||
|
||||
interface
|
||||
|
||||
|
Reference in New Issue
Block a user