summaryrefslogtreecommitdiffstats
path: root/perl-install/Newt
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-28 13:34:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-28 13:34:20 +0000
commit4fa70ada77a24c95a91dc0db291d2f82d61f0549 (patch)
tree3d9622fc7bdbcbad0379fab819980a9e5c5e541c /perl-install/Newt
parent40510f6ae00159369bb9886b6fe3ae5f19a3c615 (diff)
downloaddrakx-4fa70ada77a24c95a91dc0db291d2f82d61f0549.tar
drakx-4fa70ada77a24c95a91dc0db291d2f82d61f0549.tar.gz
drakx-4fa70ada77a24c95a91dc0db291d2f82d61f0549.tar.bz2
drakx-4fa70ada77a24c95a91dc0db291d2f82d61f0549.tar.xz
drakx-4fa70ada77a24c95a91dc0db291d2f82d61f0549.zip
cleanup use of flags
Diffstat (limited to 'perl-install/Newt')
-rw-r--r--perl-install/Newt/Newt.xs8
1 files changed, 6 insertions, 2 deletions
diff --git a/perl-install/Newt/Newt.xs b/perl-install/Newt/Newt.xs
index 0b1a757ff..0121452db 100644
--- a/perl-install/Newt/Newt.xs
+++ b/perl-install/Newt/Newt.xs
@@ -219,12 +219,16 @@ OUTPUT:
RETVAL
Newt::Component
-newtTextbox(left,top,width,height,flags)
+newtTextbox(left,top,width,height,want_scroll)
int left;
int top;
int width;
int height;
- int flags;
+ int want_scroll;
+ CODE:
+ RETVAL = newtTextbox(left,top,width,height, (want_scroll ? NEWT_FLAG_SCROLL : 0) | NEWT_FLAG_WRAP);
+ OUTPUT:
+ RETVAL
void
newtTextboxSetText(co,text)