Page 1 sur 1

CoolText Lib

Publié : mer. 26/déc./2007 22:14
par frederic
Voici une lib pour orienter le texte d'un textgadget, dites moi si ça fonctionne ;)

Image

http://fredme.free.fr/ctext/cooltext.zip

exemple :

Code : Tout sélectionner

  If OpenWindow(0, 0, 0, 220, 70, "CoolText", #PB_Window_SystemMenu|#PB_Window_ScreenCentered|#PB_Window_SizeGadget)
          CreateGadgetList(WindowID(0))
          CoolTextGadget(1, 10, 10, 120, 50, "test", 90)
          CoolTextGadget(2, 50, 10, 120, 50, "test", 45)
          SetGadgetColor(2, #PB_Gadget_FrontColor, RGB(255,0,0))
    Repeat
    Until WaitWindowEvent() = #PB_Event_CloseWindow
  EndIf

Publié : jeu. 27/déc./2007 14:59
par SpaceMan
Cool ta Lib ! elle marche bien chez moi :)

Publié : jeu. 27/déc./2007 19:49
par frederic
Bien content que ça fonctionne :)
merci pour ce retour d'information, ça fait plaisir

Publié : ven. 28/déc./2007 12:08
par Ar-S
Sympa ça !
Ce serait le top d'y implanter un CoolTextButton.