From d9d023e683494a368bce9618a038e0e0ad79a116 Mon Sep 17 00:00:00 2001 From: stegerg Date: Fri, 9 Mar 2007 18:43:22 +0000 Subject: [PATCH] Additional test for args in gadget text git-svn-id: https://svn.aros.org:8080/svn/aros/trunk/AROS@25381 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/demos/easyreq.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/workbench/demos/easyreq.c b/workbench/demos/easyreq.c index f5a103b06..9fc08e47f 100644 --- a/workbench/demos/easyreq.c +++ b/workbench/demos/easyreq.c @@ -49,6 +49,12 @@ int main(void) EasyRequest(0, &es, 0, 10, 20, 30, (IPTR)"I'm the string"); es.es_Title = "Fifth Requester"; + es.es_TextFormat = "Requester Text with text and gadget args:\n\nArg 1: %ld Arg 2: %ld Arg 3: %ld\nStringarg: %s"; + es.es_GadgetFormat = "Coooool %ld|Holy %s"; + + EasyRequest(0, &es, 0, 10, 20, 30, (IPTR)"I'm the string", 7777, "crap"); + + es.es_Title = "Sixth Requester"; es.es_TextFormat = "I'm an asynchronous Requester.\nWatch shell output while\nrequester is open!"; es.es_GadgetFormat = "Incredible|Great|Not bad"; -- 2.11.4.GIT