Re: [Lazarus] Video: Terrain Demo

2017-07-14 Thread Anthony Walter via Lazarus
Update: I added the a "mars" planet style to the example. This new style
includes depth of field and atmospheric effects.

https://www.getlazarus.org/videos/bareterrain/#mars
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Translation becomes "fuzzy". Why?

2017-07-14 Thread Maxim Ganetsky via Lazarus


14.07.2017 12:06, Valdas Jankūnas via Lazarus пишет:
> 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 update this translation is always marked as
> "fuzzy,badformat". Why? Is rearrangement of arguments prohibited, or I
> don't see where I made a mistake?

IIRC currently formatting arguments in translation should match original
string, otherwise formatting is considered incorrect. It is not very
flexible, but it is simple and allows to avoid subtle errors in
translations.

Probably this check can be relaxed/made more elaborate, but I don't
think it is worth potential risks and complications.

-- 
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] TShape cross shape

2017-07-14 Thread Alexey via Lazarus

IDE uses x mark for ComponentPalettePopup. it paints it custom way.

I want to add TShape kind "cross". It may be used here in PalettePopup. 
For cross, so needed to add property "width of cross". I want to add 
prop ShapeSizeSmall: it may be width of cross + radius for rounded-rect. 
(now radius is MinSize/4). Ok?


--
Regards,
Alexey T

--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus