GDL: Basic UI Shapes

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2019-05-31 05:42 AM
‎2019-05-31
05:42 AM
Is there a way to create basic shapes in the UI script without resorting to images?
Ling.
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2019-05-31 05:55 AM
‎2019-05-31
05:55 AM
Apart from horizontal or vertical lines or rectangles, not that I know of.
You will have to use a picture.
And be aware that the bounding box of the picture will block other infields & outfields even if the picture has a transparent background.
It is especially troublesome for infields - it may look like it is in front of the picture but you can type anything in the field.
The trick I have found if you want an infield and picture to overlap is to script the infield, then the picture and then the same infield again.
UI_INFIELD...
UI_PICTURE...
UI_INFIELD...
Barry.
You will have to use a picture.
And be aware that the bounding box of the picture will block other infields & outfields even if the picture has a transparent background.
It is especially troublesome for infields - it may look like it is in front of the picture but you can type anything in the field.
The trick I have found if you want an infield and picture to overlap is to script the infield, then the picture and then the same infield again.
UI_INFIELD...
UI_PICTURE...
UI_INFIELD...
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2019-06-01 09:42 AM
‎2019-06-01
09:42 AM
I use single pixel bitmaps for frames and line (H&V),
It could be possible to script the other shapes using such single pixel bitmaps as well...yet I try avoiding it, because more complicated the UI scrip is, the less responsive the UI can be (especially the first use until it is cached).
Best Regards,
Piotr
It could be possible to script the other shapes using such single pixel bitmaps as well...yet I try avoiding it, because more complicated the UI scrip is, the less responsive the UI can be (especially the first use until it is cached).
Best Regards,
Piotr