Added MMemo_Text and MMemo_TextLength. Updated the testfile demo to save

text from a MMemo when button clicked.
This commit is contained in:
memson
2002-04-13 00:32:16 +00:00
parent 434b2f7566
commit 8317aa12bf
6 changed files with 53 additions and 7 deletions

View File

@@ -1,9 +1,18 @@
/*
$Header: /home/haiku/befpc/begui/begui/libbegui/BeGuiAPI.cpp,v 1.3 2002-04-12 23:32:56 memson Exp $
$Header: /home/haiku/befpc/begui/begui/libbegui/BeGuiAPI.cpp,v 1.4 2002-04-13 00:32:16 memson Exp $
$Revision: 1.3 $
$Revision: 1.4 $
$Log: not supported by cvs2svn $
Revision 1.3 2002/04/12 23:32:56 memson
Added quite a bit.
Got basic file handling soeted out. Also got the FilePanel's working (see
example project)
Popup menu now only responds to a right click (at last!!)
Revision 1.2 2002/04/02 20:42:15 memson
updated for Eric
@@ -422,6 +431,14 @@ void MMemo_AttachKeyUpDispatcher(MMemo *memo, keyAction_Message msg){
memo->AttachKeyDownDispatcher(msg);
}
const char* MMemo_Text(MMemo *memo){
return memo->getTextView()->Text();
}
int32 MMemo_TextLength(MMemo *memo){
return memo->getTextView()->TextLength();
}
///
MCheckBox* MForm_AddMCheckBox(MForm* frm, float left, float top, float right, float bottom, char *name){