rem UniOpx.oxh rem Header file for UniOpx.opx rem Copyright (c) 2000 Enfour. All rights reserved. const KUOUid& = &10000e20 const KUOVersion% = $100 const KUOLinefeedUnix%=0 const KUOLinefeedDOS%=1 const KUOLinefeedMac%=2 const KUOTiny% = 0 const KUOSmall% = 1 const KUONormal% = 2 const KUOLarge% = 3 const KUOHuge1% = 4 const KUOHuge2% = 5 const KUOHuge3% = 6 const KUOHuge4% = 7 const KUOHuge5% = 8 const KUOHuge6% = 9 rem For gFONT const KFontTBGothicNano& = &1000184a const KFontTBGothicMicro& = &10001849 const KFontTBGothicTiny& = &10004351 const KFontTBGothicSmall& = &10004352 const KFontTBGothicNormal& = &10004353 const KFontTBGothicLarge& = &10004354 const KFontTBGothicMonoNano& = &10001854 const KFontTBGothicMonoMicro& = &1000184b const KFontTBGothicMonoTiny& = &10004355 const KFontTBGothicMonoSmall& = &10004356 const KFontTBGothicMonoNormal& = &10004357 const KFontTBGothicMonoLarge& = &10004358 rem UIDs for encodings const KUOEncodingUtf8& = &10001852 const KUOEncodingShiftJis& = &10000e26 const KUOEncodingJIS& = &10000e28 const KUOEncodingUcs2& = &10000e27 const KUOEncodingEucJp& = &10000e29 const KUOEncodingMacRoman& = &10001851 const KUOEncodingCP1252& = &10001850 const KUOEncodingLatin1& = &10001853 const KUOEncodingBig5& = &1000185c const KUOEncodingGb& = &10001860 const KUOEncodingEucKr& = &1000185d const KUOEncodingJohab& = &1000186a const KUOEncodingCp949& = &1000186b const KUOEncodingIsoKr& = &1000186c DECLARE OPX UNIOPX,KUOUid&,KUOVersion% UOSupported&: : 1 UOEncodeChar&:(uni&, enc%) : 2 UODecodeChar&:(ch&, enc%) : 3 UOEncode&:(frombuf&, fromlen&, tobuf&, tolen&, enc%) : 4 UODecode&:(frombuf&, fromlen&, tobuf&, tolen&, enc%) : 5 UOWChar&:(buf&, BYREF pos&) : 6 UOUtf$:(uni&) : 7 UOCopyToClip:(buf&, buflen&) : 8 UOCopyFromClip&:(buf&, buflen&, lf%) : 9 UOBufferAsString$:(buf&, len&) : 10 UOBufferFromString&:(buf&, len&, str$) : 11 UOPrint:(win&, BYREF x&, y&, size%, str$) : 12 UOFontMetric:(size%, BYREF height&, BYREF descent&) : 13 UOTextWidth&:(size%, str$) : 14 UONumEncodings%: : 15 UOEncodingName$:(num%) : 16 UOReleaseEncoding:(num%) : 17 rem this is a noop now: UOEnableUtf8: : 18 UOEncodingUid&:(num%) : 19 END DECLARE