Hello,
I working with alpha blending. On QT it works fine. On GTK2 I get
"Depth: 24" when executing "GetDescriptionFromDevice(0)" (on QT -> 32).
Why GTK2 "screen" not supports alpha?
It is strange because if I load PNG with transparency (image with
gradient) into TImage then I clearly can see
2017.04.14 22:02, Marc Weustink via Lazarus rašė:
Why GTK2 "screen" not supports alpha?
It is strange because if I load PNG with transparency (image with
gradient) into TImage then I clearly can see alpha blending effect on
GTK2 when image is diplayed.
Iirc (its long ago when i implemented it
Hello,
code (WS: GTK2):
i := Canvas.TextHeight('I');
writeln(i);
Canvas.Font.Height := i;
i:= Canvas.TextHeight('I');
writeln(i);
Canvas.Font.Height := i;
i:= Canvas.TextHeight('I');
writeln(i);
I get:
24
33
45
I think that "Canvas.Font.Height" and "Canvas.TextHeight('a')" shou
2017-07-05 1:39 GMT+03:00 Valdas Jankūnas :
> 2017.07.05 00:19, Ondrej Pokorny via Lazarus rašė:
>
>> Can you test Lazarus 1.6.x, please?
>>
>> Ondrej
>>
>
> attaching test project. Results:
>
> Kubuntu 17.04 (in virtualbox); Lazarus 1.6.4; FPC 3.0.2; WS Gtk2:
> 18
> 24
> 33
> 45
> 61
> 83
>
> Kub
I created simple GUI project and OnCreate added previously mentioned code.
Is this a bug in Lazarus?
2017-07-09 18:41 GMT+03:00 Ondrej Pokorny via Lazarus <
lazarus@lists.lazarus-ide.org>:
> On 09.07.2017 17:14, Valdas Jankūnas via Lazarus wrote:
>
> PPI of Font differs from re
Hello,
In file "languages/lazaruside.lt.po" resides string:
#: lazarusidestrconsts.lischangedscoordofsfromdtodinsides
msgid "Changed %s coord of %s from \"%d\" to \"%d\" inside %s."
I translate it to:
msgstr "„%4:s“ viduje „%1:s“ koordinatė „%0:s“ pakeista iš „%2:d“ į „%3:d“."
After revision
Hello,
I'm stuck. I always getting weird error when executing this code (stripped down
to minimum):
program project1;
type
TElement = record
strr: String;
end;
TList = array of TElement;
Plist = ^TList;
TSetting = record
list: Plist;
end;
const
_List: array [0..1] o
2018-05-11 12:36, Santiago A. via Lazarus rašė:
Yes, but I think that it should be considered a FPC bug
TList = array of TElement;
Plist = ^TList;
TSetting = record
list: Plist;
end;
const
_List: array [0..1] of TElement = (
(strr: 'a'),
(strr: 'b'));
_S
Hello,
I have Raspberry Pi3 B with fresh Raspbian Stretch (image 2018-10-09) on it.
I need FPC trunk because a Bug (https://bugs.freepascal.org/view.php?id=32005) so I
followed these instructions and successfully compiled FPC from trunk r40152 (using
'OPT="-dFPC_ARMHF"'):
https://bigdanzblog.
2018-11-01 23:47, Maxim Ganetsky via Lazarus rašė:
02.11.2018 0:42, Valdas Jankūnas via Lazarus пишет:
gtk2proc.inc(4631,15) Fatal: Internal error 200108231
This line indicates FPC bug.
Reported: https://bugs.freepascal.org/view.php?id=34495
--
Valdas Jankūnas
Hello,
in Wiki
(http://wiki.freepascal.org/Autosize_/_Layout#Common_mistake:_Width_instead_of_ClientWidth.2C_AdjustClientRect)
code is shown:
procedure TForm1.Panel1Resize(Sender: TObject);
var
r: TRect;
begin
r := Panel1.ClientRect;
Panel1.AdjustClientRect(r); // <<<
Hello,
in Test Project I have a Chart with several LineSeries and one AreaSeries.
AutoScaleAxisTransform in each Axis is used. I noticed some unexplainable
behavior:
- in fig_A you can see Chart in "all is OK" state,
- if I do Chart1LineSeries1.Active:=FALSE (this series is tied to Axis #0)
2019-01-06 19:56, Werner Pamler via lazarus rašė:
Am 06.01.2019 um 18:00 schrieb Valdas Jankūnas via lazarus:
This is hard to tell from the description alone, there are so many
possibilities... You should create a litte project which shows the issue and
attach it (please include only source
Hello,
I tried (using lazbuild v2.1.0 from SVN trunk):
:~/Svn/lazarus$ lazbuild --build-ide= --add-package tachartlazaruspkg
Error: (lazbuild) package not found: tachartlazaruspkg
Before update from SVN this command worked without problems.
Also tried:
~/Svn/lazarus$ lazbuild --verbose-pkgsea
2019-06-24 17:19, Mattias Gaertner via lazarus rašė:
On Mon, 24 Jun 2019 16:39:16 +0300
Valdas Jankūnas via lazarus wrote:
I tried (using lazbuild v2.1.0 from SVN trunk):
:~/Svn/lazarus$ lazbuild --build-ide= --add-package tachartlazaruspkg
Error: (lazbuild) package not found
Hello,
I decided to use DockManager in my project. I fount that closing
secondary form by pressing a X button in window of that form it becomes
hidden not destroyed.
How to actually close (destroy and free) a secondary from when
DockManager is used?
"CloseAction:= caFree" not helped. I tried
16 matches
Mail list logo