X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=form%2Fform.priv.h;h=89ad07a2e927816169d3cb335bfea64e22d739b4;hp=4d1dfe7bf01e533d8790bc4759c819dcb3d59bd3;hb=5461fc336d03fbfea6b85ac21c6d49c528f6752d;hpb=a84fd46191c61f1151a7258e1539b89c395e61f9 diff --git a/form/form.priv.h b/form/form.priv.h index 4d1dfe7b..89ad07a2 100644 --- a/form/form.priv.h +++ b/form/form.priv.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2012,2014 Free Software Foundation, Inc. * + * Copyright (c) 1998-2015,2016 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -30,7 +30,7 @@ * Author: Juergen Pfeifer, 1995,1997 * ****************************************************************************/ -/* $Id: form.priv.h,v 0.38 2014/11/01 13:56:14 tom Exp $ */ +/* $Id: form.priv.h,v 0.41 2016/10/29 22:30:23 tom Exp $ */ #ifndef FORM_PRIV_H #define FORM_PRIV_H 1 @@ -162,7 +162,8 @@ TypeArgument; #define ALL_FIELD_OPTS (Field_Options)( \ STD_FIELD_OPTS |\ - O_DYNAMIC_JUSTIFY) + O_DYNAMIC_JUSTIFY |\ + O_NO_LEFT_STRIP) #define C_BLANK ' ' #define is_blank(c) ((c)==C_BLANK) @@ -183,6 +184,7 @@ extern NCURSES_EXPORT(FIELD *) _nc_First_Active_Field (FORM*); extern NCURSES_EXPORT(bool) _nc_Internal_Validation (FORM*); extern NCURSES_EXPORT(int) _nc_Set_Current_Field (FORM*, FIELD*); extern NCURSES_EXPORT(int) _nc_Position_Form_Cursor (FORM*); +extern NCURSES_EXPORT(void) _nc_Unset_Current_Field(FORM *form); #if NCURSES_INTEROP_FUNCS extern NCURSES_EXPORT(FIELDTYPE *) _nc_TYPE_INTEGER(void);