Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update iup to 3.16 and set dpi aware in manifest
- Loading branch information
Showing
597 changed files
with
9,854 additions
and
2,680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
187 changes: 122 additions & 65 deletions
187
...nal/iup-3.8_Win32_dll11_lib/include/iup.h → ...al/iup-3.16_Win32_dll11_lib/include/iup.h
Large diffs are not rendered by default.
Oops, something went wrong.
470 changes: 470 additions & 0 deletions
470
external/iup-3.16_Win32_dll11_lib/include/iup_class_cbs.hpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/** \file | ||
* \brief Configuration file Utilities | ||
* | ||
* See Copyright Notice in "iup.h" | ||
*/ | ||
|
||
#ifndef IUP_CONFIG_H | ||
#define IUP_CONFIG_H | ||
|
||
#if defined(__cplusplus) | ||
extern "C" { | ||
#endif | ||
|
||
Ihandle* IupConfig(void); | ||
|
||
int IupConfigLoad(Ihandle* ih); | ||
int IupConfigSave(Ihandle* ih); | ||
|
||
/****************************************************************/ | ||
|
||
void IupConfigSetVariableStr(Ihandle* ih, const char* group, const char* key, const char* value); | ||
void IupConfigSetVariableStrId(Ihandle* ih, const char* group, const char* key, int id, const char* value); | ||
void IupConfigSetVariableInt(Ihandle* ih, const char* group, const char* key, int value); | ||
void IupConfigSetVariableIntId(Ihandle* ih, const char* group, const char* key, int id, int value); | ||
void IupConfigSetVariableDouble(Ihandle* ih, const char* group, const char* key, double value); | ||
void IupConfigSetVariableDoubleId(Ihandle* ih, const char* group, const char* key, int id, double value); | ||
|
||
const char* IupConfigGetVariableStr(Ihandle* ih, const char* group, const char* key); | ||
const char* IupConfigGetVariableStrId(Ihandle* ih, const char* group, const char* key, int id); | ||
int IupConfigGetVariableInt(Ihandle* ih, const char* group, const char* key); | ||
int IupConfigGetVariableIntId(Ihandle* ih, const char* group, const char* key, int id); | ||
double IupConfigGetVariableDouble(Ihandle* ih, const char* group, const char* key); | ||
double IupConfigGetVariableDoubleId(Ihandle* ih, const char* group, const char* key, int id); | ||
|
||
const char* IupConfigGetVariableStrDef(Ihandle* ih, const char* group, const char* key, const char* def); | ||
const char* IupConfigGetVariableStrIdDef(Ihandle* ih, const char* group, const char* key, int id, const char* def); | ||
int IupConfigGetVariableIntDef(Ihandle* ih, const char* group, const char* key, int def); | ||
int IupConfigGetVariableIntIdDef(Ihandle* ih, const char* group, const char* key, int id, int def); | ||
double IupConfigGetVariableDoubleDef(Ihandle* ih, const char* group, const char* key, double def); | ||
double IupConfigGetVariableDoubleIdDef(Ihandle* ih, const char* group, const char* key, int id, double def); | ||
|
||
/****************************************************************/ | ||
|
||
void IupConfigRecentInit(Ihandle* ih, Ihandle* menu, Icallback recent_cb, int max_recent); | ||
void IupConfigRecentUpdate(Ihandle* ih, const char* filename); | ||
|
||
void IupConfigDialogShow(Ihandle* ih, Ihandle* dialog, const char* name); | ||
void IupConfigDialogClosed(Ihandle* ih, Ihandle* dialog, const char* name); | ||
|
||
|
||
#if defined(__cplusplus) | ||
} | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/** \file | ||
* \brief Plot component for Iup. | ||
* | ||
* See Copyright Notice in "iup.h" | ||
*/ | ||
|
||
#ifndef __IUP_MGLPLOT_H | ||
#define __IUP_MGLPLOT_H | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* Initialize IupMglPlot widget class */ | ||
void IupMglPlotOpen(void); | ||
|
||
/* Create an IupMglPlot widget instance */ | ||
Ihandle* IupMglPlot(void); | ||
|
||
/***********************************************/ | ||
/* Additional API */ | ||
|
||
/* Linear Data Only */ | ||
void IupMglPlotBegin(Ihandle *ih, int dim); | ||
void IupMglPlotAdd1D(Ihandle *ih, const char* name, double y); | ||
void IupMglPlotAdd2D(Ihandle *ih, double x, double y); | ||
void IupMglPlotAdd3D(Ihandle *ih, double x, double y, double z); | ||
int IupMglPlotEnd(Ihandle *ih); | ||
|
||
/* Linear (dim=1,2,3), Planar (dim=1), Volumetric (dim=1) */ | ||
int IupMglPlotNewDataSet(Ihandle *ih, int dim); | ||
|
||
/* Linear Data Only */ | ||
void IupMglPlotInsert1D(Ihandle* ih, int ds_index, int sample_index, const char** names, const double* y, int count); | ||
void IupMglPlotInsert2D(Ihandle* ih, int ds_index, int sample_index, const double* x, const double* y, int count); | ||
void IupMglPlotInsert3D(Ihandle* ih, int ds_index, int sample_index, const double* x, const double* y, const double* z, int count); | ||
|
||
/* Linear Data Only */ | ||
void IupMglPlotSet1D(Ihandle* ih, int ds_index, const char** names, const double* y, int count); | ||
void IupMglPlotSet2D(Ihandle* ih, int ds_index, const double* x, const double* y, int count); | ||
void IupMglPlotSet3D(Ihandle* ih, int ds_index, const double* x, const double* y, const double* z, int count); | ||
void IupMglPlotSetFormula(Ihandle* ih, int ds_index, const char* formulaX, const char* formulaY, const char* formulaZ, int count); | ||
|
||
/* Linear (dim=1), Planar (dim=1), Volumetric (dim=1) */ | ||
void IupMglPlotSetData(Ihandle* ih, int ds_index, const double* data, int count_x, int count_y, int count_z); | ||
void IupMglPlotLoadData(Ihandle* ih, int ds_index, const char* filename, int count_x, int count_y, int count_z); | ||
void IupMglPlotSetFromFormula(Ihandle* ih, int ds_index, const char* formula, int count_x, int count_y, int count_z); | ||
|
||
/* Only inside callbacks */ | ||
void IupMglPlotTransform(Ihandle* ih, double x, double y, double z, int *ix, int *iy); | ||
void IupMglPlotTransformTo(Ihandle* ih, int ix, int iy, double *x, double *y, double *z); | ||
|
||
/* Only inside callbacks */ | ||
void IupMglPlotDrawMark(Ihandle* ih, double x, double y, double z); | ||
void IupMglPlotDrawLine(Ihandle* ih, double x1, double y1, double z1, double x2, double y2, double z2); | ||
void IupMglPlotDrawText(Ihandle* ih, const char* text, double x, double y, double z); | ||
|
||
void IupMglPlotPaintTo(Ihandle *ih, const char* format, int w, int h, double dpi, void *data); | ||
|
||
/***********************************************/ | ||
|
||
/* Utility label for showing TeX labels */ | ||
Ihandle* IupMglLabel(const char* title); | ||
|
||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/** \file | ||
* \brief Plot component for Iup. | ||
* | ||
* See Copyright Notice in "iup.h" | ||
*/ | ||
|
||
#ifndef __IUP_PLOT_H | ||
#define __IUP_PLOT_H | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* Initialize IupPlot widget class */ | ||
void IupPlotOpen(void); | ||
|
||
/* Create an IupPlot widget instance */ | ||
Ihandle* IupPlot(void); | ||
|
||
/***********************************************/ | ||
/* Additional API */ | ||
|
||
void IupPlotBegin(Ihandle *ih, int strXdata); | ||
void IupPlotAdd(Ihandle *ih, double x, double y); | ||
void IupPlotAddStr(Ihandle *ih, const char* x, double y); | ||
void IupPlotAddSegment(Ihandle *ih, double x, double y); | ||
int IupPlotEnd(Ihandle *ih); | ||
|
||
int IupPlotLoadData(Ihandle* ih, const char* filename, int strXdata); | ||
|
||
/* available only when linking with "iupluaplot" */ | ||
int IupPlotSetFormula(Ihandle* ih, int sample_count, const char* formula, const char* init); | ||
|
||
void IupPlotInsert(Ihandle *ih, int ds_index, int sample_index, double x, double y); | ||
void IupPlotInsertStr(Ihandle *ih, int ds_index, int sample_index, const char* x, double y); | ||
void IupPlotInsertSegment(Ihandle *ih, int ds_index, int sample_index, double x, double y); | ||
|
||
void IupPlotInsertStrSamples(Ihandle* ih, int ds_index, int sample_index, const char** x, double* y, int count); | ||
void IupPlotInsertSamples(Ihandle* ih, int ds_index, int sample_index, double *x, double *y, int count); | ||
|
||
void IupPlotAddSamples(Ihandle* ih, int ds_index, double *x, double *y, int count); | ||
void IupPlotAddStrSamples(Ihandle* ih, int ds_index, const char** x, double* y, int count); | ||
|
||
void IupPlotGetSample(Ihandle* ih, int ds_index, int sample_index, double *x, double *y); | ||
void IupPlotGetSampleStr(Ihandle* ih, int ds_index, int sample_index, const char* *x, double *y); | ||
int IupPlotGetSampleSelection(Ihandle* ih, int ds_index, int sample_index); | ||
void IupPlotSetSample(Ihandle* ih, int ds_index, int sample_index, double x, double y); | ||
void IupPlotSetSampleStr(Ihandle* ih, int ds_index, int sample_index, const char* x, double y); | ||
void IupPlotSetSampleSelection(Ihandle* ih, int ds_index, int sample_index, int selected); | ||
|
||
void IupPlotTransform(Ihandle* ih, double x, double y, double *cnv_x, double *cnv_y); | ||
void IupPlotTransformTo(Ihandle* ih, double cnv_x, double cnv_y, double *x, double *y); | ||
|
||
int IupPlotFindSample(Ihandle* ih, double cnv_x, double cnv_y, int *ds_index, int *sample_index); | ||
|
||
struct _cdCanvas; | ||
|
||
void IupPlotPaintTo(Ihandle *ih, struct _cdCanvas* cnv); | ||
|
||
/***********************************************/ | ||
|
||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif |
Oops, something went wrong.