mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 16:09:30 +02:00
lcl: gtk2: comments
This commit is contained in:
parent
6a180f5389
commit
01dbdf31c0
@ -2700,7 +2700,8 @@ begin
|
||||
gdk_window_get_size(AWindow, @AW, @AH);
|
||||
FCachedTitleBarHeight := ARect.Height - AH - 1;
|
||||
FCachedBorderSize := (ARect.Width - AW) div 2;
|
||||
Result := ARect.Height - AH - 1;
|
||||
//debugln(['TGtk2WidgetSet.GetTitleBarHeight ',dbgs(ARect),' AW=',AW,' AH=',AH]);
|
||||
Result := FCachedTitleBarHeight;
|
||||
break;
|
||||
end;
|
||||
end;
|
||||
|
@ -5850,10 +5850,10 @@ begin
|
||||
begin
|
||||
//DebugLn('Trace:TODO: [TGtk2WidgetSet.GetSystemMetrics] --> SM_CYSIZE ');
|
||||
end;
|
||||
SM_CXSIZEFRAME,
|
||||
SM_CYSIZEFRAME:
|
||||
SM_CXSIZEFRAME, // same as SM_CXFRAME
|
||||
SM_CYSIZEFRAME: // same as SM_CYFRAME
|
||||
begin
|
||||
Result := FCachedBorderSize;
|
||||
Result := Max(FCachedBorderSize, 0);
|
||||
end;
|
||||
SM_CXSMICON,
|
||||
SM_CYSMICON:
|
||||
|
Loading…
Reference in New Issue
Block a user