Created
November 30, 2012 13:16
-
-
Save gferreira/4175687 to your computer and use it in GitHub Desktop.
options for a `create anchors` dialog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# options for a `create anchors` dialog for hTools2 | |
1. Simple dialog, allowing the creation of `top` and `bottom` anchors with | |
positions relative to the font’s x-height (top) and baseline (bottom). | |
|---------------------| | |
| # create achors | | |
|---------------------| | |
| | | |
| [ ] top | | |
| dy [ 25 ] - + | | |
| | | |
| [×] bottom | | |
| dy [ 25 ] - + | | |
| | | |
| [ ] accent | | |
| | | |
| |---------------| | | |
| | apply | | | |
| |---------------| | | |
| | | |
|---------------------| | |
2. Generic dialog to create anchors with any given name, at a specified | |
position. Multiple anchors need to be created one by one, by name and position. | |
|---------------------| | |
| # create achors | | |
|---------------------| | |
| | | |
| name [ myname ] | | |
| | | |
| x [ 25 ] - + | | |
| y [ 85 ] - + | | |
| | | |
| [×] overwrite | | |
| | | |
| |---------------| | | |
| | create | | | |
| |---------------| | | |
| | | |
|---------------------| | |
3. Combined dialog, integrating special cases for `top` and `bottom` anchors | |
(relative positions) with generic controls (custom positions) for any other | |
arbitrary name. | |
|---------------------| | |
| # create achors | | |
|---------------------| | |
| | | |
| [ ] top | | |
| dy [ 25 ] - + | | |
| | | |
| [×] bottom | | |
| dy [ 25 ] - + | | |
| | | |
| [×] [ myname ] | | |
| x [ 25 ] - + | | |
| y [ 25 ] - + | | |
| | | |
| [ ] accent | | |
| [ ] overwrite | | |
| | | |
| |---------------| | | |
| | apply | | | |
| |---------------| | | |
| | | |
|---------------------| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment