iup-stack/iup/srccontrols/matrix/iupmat_aux.h

38 lines
1.0 KiB
C
Raw Normal View History

2023-02-20 16:44:45 +00:00
/** \file
* \brief iupmatrix control
* auxiliary functions.
*
* See Copyright Notice in "iup.h"
*/
#ifndef __IUPMAT_AUX_H
#define __IUPMAT_AUX_H
#ifdef __cplusplus
extern "C" {
#endif
int iupMatrixAuxIsFullVisibleLast(ImatLinColData *p);
int iupMatrixAuxIsCellStartVisible(Ihandle* ih, int lin, int col);
int iupMatrixAuxIsCellVisible(Ihandle* ih, int lin, int col);
int iupMatrixAuxCalcSizes(Ihandle* ih);
void iupMatrixAuxAdjustFirstFromLast(ImatLinColData* p);
void iupMatrixAuxAdjustFirstFromScrollPos(ImatLinColData* p, int scroll_pos);
void iupMatrixAuxUpdateScrollPos(Ihandle* ih, int m);
void iupMatrixAuxUpdateLast(ImatLinColData *p);
int iupMatrixAuxCallLeaveCellCb (Ihandle* ih);
void iupMatrixAuxCallEnterCellCb (Ihandle* ih);
int iupMatrixAuxCallEditionCbLinCol(Ihandle* ih, int lin, int col, int mode, int update);
void iupMatrixAuxCopyLin(Ihandle* ih, int from_lin, int to_lin);
void iupMatrixAuxCopyCol(Ihandle* ih, int from_col, int to_col);
#ifdef __cplusplus
}
#endif
#endif