Fairly large portions of the Palm OS sources are available once you've logged in to the pavilion on palmos.com.

BTW the license makes it quite clear what's allowed and what's not, so my strong recommendation to the original poster would be to read the license that they signed to get access in the first place.

-David Fedor
PalmSource, Inc.


At 7:45 AM +0000 5/14/03, g3BEPA wrote:
Hi, where did you grab it from? I've been looking around but cant
find the source.

--- In [EMAIL PROTECTED], "Matthew Bevan" <[EMAIL PROTECTED]>
wrote:
I recall something like this being discussed in the past, but am
currently
unable to find the topic in the newsgroup archives.

Am I allowed to, say, grab a copy of the PalmOS 4.0 source, take a
copy of
FrmHelp, and tweak it for my own use? I really don't like the use
of a bold
font in that field, among other things...

Do I have to mention somewhere where I got the things from? All of
the /*
*/ comments above the two functions remain intact (with a changelog
entry
above FrmHelpCustom), and the copyright messages appear as well.
It's for a
commercial piece of software... hmm.

Here are my changes:

 // The function declaration...
 void FrmHelpCustom (Char *titleStr, UInt16 helpMsgId, FontID fontID)

 // ... and from here...
  formP = FrmInitForm (HelpForm);
  FrmSetTitle (formP, titleStr); // Part 1: Change of title.

  helpStr = DmGetResource (strRsc, helpMsgId);
  fldP = FrmGetObjectPtr (formP, FrmGetObjectIndex (formP,
HelpField));
  FldSetFont (fldP, fontID); // Part 2: Change of fonts.
  FldSetTextHandle (fldP, helpStr);
  FrmSetActiveForm (formP);
  FrmDrawForm (formP);
 // ...to here.

Nothing else in the function was changed.



 --
 For information on using the Palm Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to