mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
Fix typo
This commit is contained in:
parent
54edc1e50b
commit
c8453b189d
2 changed files with 5 additions and 5 deletions
|
@ -30,7 +30,7 @@ namespace Greenshot.Editor.FileFormat.Dto;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// All DTO classes should not contain any business logic. This applies to helper methods as well
|
/// All DTO classes should not contain any business logic. This applies to helper methods as well
|
||||||
/// So this is the placae for them.
|
/// So this is the place for them.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static class DtoHelper
|
public static class DtoHelper
|
||||||
{
|
{
|
||||||
|
@ -48,7 +48,7 @@ public static class DtoHelper
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// We store Color as an ARGB integer, so we have to compare two colors in by their ARGB values
|
/// We store Color as an ARGB integer, so we have to compare two colors by their ARGB values
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="leftColor"></param>
|
/// <param name="leftColor"></param>
|
||||||
/// <param name="rightColor"></param>
|
/// <param name="rightColor"></param>
|
||||||
|
|
|
@ -115,8 +115,8 @@ The version is composed of two parts:
|
||||||
|
|
||||||
The version is represented as `{format version}.{schema version}` (i.e. as string, `02.01`, this pattern still matches markers in V1 and V2).
|
The version is represented as `{format version}.{schema version}` (i.e. as string, `02.01`, this pattern still matches markers in V1 and V2).
|
||||||
|
|
||||||
- **Format Version:** See `VersionHandler.GreenshotFileFormatVersion`.
|
- **Format Version:** See `GreenshotFileVersionHandler.GreenshotFileFormatVersion`.
|
||||||
- **Schema Version:** See `VersionHandler.SchemaVersion`.
|
- **Schema Version:** See `GreenshotFileVersionHandler.CurrentSchemaVersion`.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ It provides methods to save and load files. There is a `GreenshotFileFormatHandl
|
||||||
|
|
||||||
Every `FileFormatHandler` calls the associated `VersionHandler` wich determines the file format version and calls the appropriate class that implements the serialization/deserialization logic.
|
Every `FileFormatHandler` calls the associated `VersionHandler` wich determines the file format version and calls the appropriate class that implements the serialization/deserialization logic.
|
||||||
|
|
||||||
From `FileFormatHandler` to the implementation, only first-class domain objects (`GreenshotFile`, `GreenshotTemplate`) or file streams are passed as parameters.
|
From `FileFormatHandler` to the implementation, only first-class domain objects (`GreenshotFile`, `GreenshotTemplate`) or file streams are passed as parameters. _(In particular, no `Surface` or `DrawableContainer`.)_
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue