summaryrefslogtreecommitdiff
path: root/iup/test/frame.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
committerPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
commiteed0eb6a476d54ce19aeff137984aa981d9e3976 (patch)
tree807891636efd2f87dcbd261e971216269973ae07 /iup/test/frame.c
parentccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff)
Upgrading to iup 3.1
Diffstat (limited to 'iup/test/frame.c')
-rwxr-xr-xiup/test/frame.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/iup/test/frame.c b/iup/test/frame.c
index 2bcd128..5262c3f 100755
--- a/iup/test/frame.c
+++ b/iup/test/frame.c
@@ -29,11 +29,10 @@ void FrameTest(void)
);
IupSetAttribute(frame1, "TITLE", "Title Text");
+ IupSetAttribute(frame1, "MARGIN", "0x0");
// IupSetAttribute(frame1, "FGCOLOR", "255 0 0");
-// IupSetAttribute(frame1, "BGCOLOR", "0 128 0");
- IupSetAttribute(frame2, "SUNKEN", "YES");
+// IupSetAttribute(frame2, "SUNKEN", "YES");
- IupSetAttribute(frame1, "MARGIN", "0x0");
IupSetAttribute(frame2, "MARGIN", "0x0");
// IupSetAttribute(frame2, "BGCOLOR", "0 128 0");
dlg = IupDialog(IupHbox(frame1, frame2, NULL));
@@ -43,7 +42,7 @@ void FrameTest(void)
IupSetAttribute(dlg, "GAP", "5");
IupSetAttribute(dlg, "FONTSIZE", "14");
// IupSetAttribute(dlg, "RASTERSIZE", "300x200");
-// IupSetAttribute(dlg, "BGCOLOR", "0 128 0");
+// IupSetAttribute(dlg, "BGCOLOR", "128 0 0");
IupShow(dlg);
printf("RASTERSIZE(%s)\n", IupGetAttribute(frame1, "RASTERSIZE"));