Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
clean-and-itasks
clean-ide
Commits
df221f6c
Commit
df221f6c
authored
Mar 03, 2005
by
John van Groningen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add OffsetAlign constructor and Alignment type
parent
69af5577
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
Win/PatchConsoleEvents/StdIOCommon.dcl
Win/PatchConsoleEvents/StdIOCommon.dcl
+7
-0
Win/PatchConsoleEvents/StdIOCommon.icl
Win/PatchConsoleEvents/StdIOCommon.icl
+7
-0
No files found.
Win/PatchConsoleEvents/StdIOCommon.dcl
View file @
df221f6c
...
...
@@ -204,7 +204,14 @@ instance toString Modifiers
::
ItemOffset
=
NoOffset
// Shorthand for OffsetVector zero
|
OffsetVector
Vector2
// A constant offset vector
|
OffsetAlign
Alignment
// Offset depends on size of other item
|
OffsetFun
ParentIndex
OffsetFun
// Offset depends on orientation
::
Alignment
=
AlignLeft
// Align left edges below each other
|
AlignRight
// Align right edges below each other
|
AlignCenter
// Align centers below/next to each other
|
AlignTop
// Align top edges next to each other
|
AlignBottom
// Align bottom edges next to each other
::
ParentIndex
:==
Int
// The number of parents (1..)
::
OffsetFun
...
...
Win/PatchConsoleEvents/StdIOCommon.icl
View file @
df221f6c
...
...
@@ -321,7 +321,14 @@ instance toString Modifiers where
::
ItemOffset
=
NoOffset
// Shorthand for OffsetVector zero
|
OffsetVector
Vector2
// A constant offset vector
|
OffsetAlign
Alignment
// Offset depends on size of other item
|
OffsetFun
ParentIndex
OffsetFun
// Offset depends on orientation
::
Alignment
// Only makes sense for ItemLocs that are relative to other items:
=
AlignLeft
// Align left edges below each other
|
AlignRight
// Align right edges below each other
|
AlignCenter
// Align centers below/next to each other
|
AlignTop
// Align top edges next to each other
|
AlignBottom
// Align bottom edges next to each other
::
ParentIndex
:==
Int
// The number of parents (1..)
::
OffsetFun
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment