1 /* 2 * Motif 3 * 4 * Copyright (c) 1987-2012, The Open Group. All rights reserved. 5 * 6 * These libraries and programs are free software; you can 7 * redistribute them and/or modify them under the terms of the GNU 8 * Lesser General Public License as published by the Free Software 9 * Foundation; either version 2 of the License, or (at your option) 10 * any later version. 11 * 12 * These libraries and programs are distributed in the hope that 13 * they will be useful, but WITHOUT ANY WARRANTY; without even the 14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 15 * PURPOSE. See the GNU Lesser General Public License for more 16 * details. 17 * 18 * You should have received a copy of the GNU Lesser General Public 19 * License along with these librararies and programs; if not, write 20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 21 * Floor, Boston, MA 02110-1301 USA 22 * 23 */ 24 #ifndef _XmTextOutI_h 25 #define _XmTextOutI_h 26 27 #include <Xm/TextOutP.h> 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif 32 33 34 /******** Private Function Declarations ********/ 35 36 extern void _XmTextFreeContextData( 37 Widget w, 38 XtPointer clientData, 39 XtPointer callData) ; 40 extern void _XmTextResetClipOrigin( 41 XmTextWidget tw, 42 XmTextPosition position, 43 #if NeedWidePrototypes 44 int clip_mask_reset) ; 45 #else 46 Boolean clip_mask_reset) ; 47 #endif /* NeedWidePrototypes */ 48 extern void _XmTextAdjustGC( 49 XmTextWidget tw) ; 50 extern Boolean _XmTextShouldWordWrap( 51 XmTextWidget widget) ; 52 extern Boolean _XmTextScrollable( 53 XmTextWidget widget) ; 54 extern XmTextPosition _XmTextFindLineEnd( 55 XmTextWidget widget, 56 XmTextPosition position, 57 LineTableExtra *extra) ; 58 extern void _XmTextOutputGetSecResData( 59 XmSecondaryResourceData *secResDataRtn) ; 60 extern int _XmTextGetNumberLines( 61 XmTextWidget widget) ; 62 extern void _XmTextMovingCursorPosition( 63 XmTextWidget tw, 64 XmTextPosition position) ; 65 extern void _XmTextChangeBlinkBehavior( 66 XmTextWidget widget, 67 #if NeedWidePrototypes 68 int newvalue) ; 69 #else 70 Boolean newvalue) ; 71 #endif /* NeedWidePrototypes */ 72 extern void _XmTextOutputCreate( 73 Widget wid, 74 ArgList args, 75 Cardinal num_args) ; 76 extern Boolean _XmTextGetBaselines( 77 Widget widget, 78 Dimension **baselines, 79 int *line_count) ; 80 extern Boolean _XmTextGetDisplayRect( 81 Widget w, 82 XRectangle *display_rect) ; 83 extern void _XmTextMarginsProc( 84 Widget w, 85 XmBaselineMargins *margins_rec) ; 86 extern void _XmTextChangeHOffset( 87 XmTextWidget widget, 88 int length) ; 89 extern void _XmTextChangeVOffset( 90 XmTextWidget widget, 91 int length) ; 92 extern void _XmTextToggleCursorGC( 93 Widget widget) ; 94 95 /******** End Private Function Declarations ********/ 96 97 98 #ifdef __cplusplus 99 } /* Close scope of 'extern "C"' declaration which encloses file. */ 100 #endif 101 102 #endif /* _XmTextOutI_h */ 103 /* DON'T ADD ANYTHING AFTER THIS #endif */ 104