AminetAminet
Search:
84520 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/e/Text_Plug2.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Flexible Text PLUGIN
Author:jason at fsel.com (Jason R. Hulance)
Type:dev/e
Architecture:m68k-amigaos
Date:1996-10-04
Download:http://aminet.net/dev/e/Text_Plug2.lha - View contents
Readme:http://aminet.net/dev/e/Text_Plug2.readme
Downloads:476

(This version fixes a bug in the height calculation...)

text_plug.m defines a new text PLUGIN for use with EasyGUI.  It has
several advantages over a normal TEXT gadget:

 1) It only renders within its allocated space, even if you change the
    text.  (If you change the text of a normal TEXT gadget to a long
    string then it will overwrite the window border.)
 2) You can specify the fonts to use for the label and the main string.
 3) In conjunction with the supplied fonts.m module, you can easily
    use the user's preferred default font (fixed width) or screen font
    (usually proportional).
 4) If you resize the GUI, more/less of the string will be shown, as
    possible.

An example program is supplied which uses an ASL requester for you to
select a font.  The use's preferred default font and screen font are
also used in the example.

Sources are included!


Contents of dev/e/Text_Plug2.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  404     938  43.1% -lh5- 417f Feb 27  1996 fonts.e
[generic]                  406     612  66.3% -lh5- 3253 Feb 27  1996 fonts.m
[generic]                 7087   16944  41.8% -lh5- 2cfe Feb 27  1996 testtext
[generic]                  685    1797  38.1% -lh5- 9e44 Feb 27  1996 testtext.e
[generic]                  829    2374  34.9% -lh5- ffc9 Sep 27  1996 text_plug.e
[generic]                 1013    2068  49.0% -lh5- 253e Sep 27  1996 text_plug.m
[generic]                 1257    2880  43.6% -lh5- 1be9 Feb 27  1996 text_plug.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         7 files   11681   27613  42.3%            Oct  4  1996

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>