| 1 |
{%MainUnit castlepropedits.pas} |
| 2 |
{ |
| 3 |
Copyright 2010-2019 Michalis Kamburelis. |
| 4 |
|
| 5 |
This file is part of "Castle Game Engine". |
| 6 |
|
| 7 |
"Castle Game Engine" is free software; see the file COPYING.txt, |
| 8 |
included in this distribution, for details about the copyright. |
| 9 |
|
| 10 |
"Castle Game Engine" is distributed in the hope that it will be useful, |
| 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 |
|
| 14 |
---------------------------------------------------------------------------- |
| 15 |
} |
| 16 |
|
| 17 |
{ TCastleImagePersistentEditor ----------------------------------------------------- } |
| 18 |
|
| 19 |
type |
| 20 |
{ Editor for TCastleImagePersistent. } |
| 21 |
TCastleImagePersistentEditor = class(TSubPropertiesEditor) |
| 22 |
public |
| 23 |
function GetName: shortstring; override; |
| 24 |
end; |
| 25 |
|
| 26 |
function TCastleImagePersistentEditor.GetName: shortstring; |
| 27 |
begin |
| 28 |
Result := inherited GetName; |
| 29 |
Result := SuffixRemove('persistent', Result, true); |
| 30 |
end; |
| 31 |
|