|
@@ -35,8 +35,8 @@ type
|
|
|
procedure SetFPanelsColor(AValue: TColor);
|
|
procedure SetFPanelsColor(AValue: TColor);
|
|
|
procedure SetFThemeManager(AValue: TBCThemeManager);
|
|
procedure SetFThemeManager(AValue: TBCThemeManager);
|
|
|
protected
|
|
protected
|
|
|
- procedure PressVirtKey(p: longint);
|
|
|
|
|
- procedure PressShiftVirtKey(p: longint);
|
|
|
|
|
|
|
+ procedure PressVirtKey(p: PtrInt);
|
|
|
|
|
+ procedure PressShiftVirtKey(p: PtrInt);
|
|
|
procedure OnButtonClick(Sender: TObject; {%H-}Button: TMouseButton;
|
|
procedure OnButtonClick(Sender: TObject; {%H-}Button: TMouseButton;
|
|
|
{%H-}Shift: TShiftState; {%H-}X, {%H-}Y: integer); virtual;
|
|
{%H-}Shift: TShiftState; {%H-}X, {%H-}Y: integer); virtual;
|
|
|
{ When value is changed by the user }
|
|
{ When value is changed by the user }
|
|
@@ -84,13 +84,13 @@ begin
|
|
|
FBCThemeManager := AValue;
|
|
FBCThemeManager := AValue;
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-procedure TBCKeyboard.PressVirtKey(p: longint);
|
|
|
|
|
|
|
+procedure TBCKeyboard.PressVirtKey(p: PtrInt);
|
|
|
begin
|
|
begin
|
|
|
KeyInput.Down(p);
|
|
KeyInput.Down(p);
|
|
|
KeyInput.Up(p);
|
|
KeyInput.Up(p);
|
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
-procedure TBCKeyboard.PressShiftVirtKey(p: longint);
|
|
|
|
|
|
|
+procedure TBCKeyboard.PressShiftVirtKey(p: PtrInt);
|
|
|
begin
|
|
begin
|
|
|
KeyInput.Down(VK_SHIFT);
|
|
KeyInput.Down(VK_SHIFT);
|
|
|
KeyInput.Down(p);
|
|
KeyInput.Down(p);
|