|
SAGA API
v9.6
|
Go to the documentation of this file.
83 printf(
"%s", Text.
to_UTF8 ().Get_Data());
87 printf(
"%s", Text.
to_ASCII().Get_Data());
108 fprintf(stderr,
"%s", Text.
to_UTF8 ().Get_Data());
112 fprintf(stderr,
"%s", Text.
to_ASCII().Get_Data());
218 static int iBuisy = 0;
static const SG_Char Buisy[4] = {
'|',
'/',
'-',
'\\' };
282 static int Progress = -1;
284 int i = Position < 0. ? -1 : Range > 0. ? 1 + (int)(100. * Position / Range) : 100;
288 if( Progress < 0 || i < Progress )
510 int Flags[2]; Flags[0] = bNewLine ? 1 : 0; Flags[1] = Style;
537 int Flags[2]; Flags[0] = bNewLine ? 1 : 0; Flags[1] = Style;
@ CALLBACK_PROCESS_SET_BUSY
bool SG_UI_DataObject_Params_Set(CSG_Data_Object *pDataObject, CSG_Parameters *pParameters)
bool to_ASCII(char **pString, char Replace='_') const
@ CALLBACK_DATAOBJECT_COLORS_GET
int SG_UI_Msg_Reset(void)
bool SG_UI_Dlg_Continue(const CSG_String &Message, const CSG_String &Caption)
bool SG_Set_UI_Callback(TSG_PFNC_UI_Callback Function)
@ CALLBACK_STOP_EXECUTION
TSG_PFNC_UI_Callback gSG_UI_Callback
@ CALLBACK_DATABASE_UPDATE
void SG_UI_Msg_Add_Execution(const char *Message, bool bNewLine, TSG_UI_MSG_STYLE Style)
bool SG_UI_Process_Get_Okay(bool bBlink)
void SG_UI_ProgressAndMsg_Reset(void)
bool SG_UI_Process_Set_Okay(bool bOkay)
void SG_UI_Console_Print_StdOut(const char *Text, SG_Char End, bool bFlush)
bool SG_UI_Stop_Execution(bool bDialog)
bool SG_UI_DataObject_Del(CSG_Data_Object *pDataObject, bool bConfirm)
@ CALLBACK_PROCESS_SET_OKAY
@ CALLBACK_PROCESS_SET_PROGRESS
bool SG_UI_Msg_is_Locked(void)
bool SG_UI_DataObject_Show(CSG_Data_Object *pDataObject, int Show)
TSG_PFNC_UI_Callback SG_Get_UI_Callback(void)
int SG_UI_Progress_Reset(void)
CSG_Data_Object * Get_Owner(void) const
bool SG_UI_Set_Map_Extent(double xMin, double yMin, double xMax, double yMax, int Maps)
@ SG_UI_DATAOBJECT_UPDATE
int(* TSG_PFNC_UI_Callback)(TSG_UI_Callback_ID ID, CSG_UI_Parameter &Param_1, CSG_UI_Parameter &Param_2)
bool SG_UI_ODBC_Update(const CSG_String &Server)
void SG_UI_Dlg_Message(const CSG_String &Message, const CSG_String &Caption)
void SG_UI_Dlg_Info(const CSG_String &Message, const CSG_String &Caption)
@ CALLBACK_SET_MAP_EXTENT
bool SG_UI_Process_Set_Busy(bool bOn, const CSG_String &Message)
void SG_UI_Console_Set_UTF8(bool bOn)
@ CALLBACK_DATAOBJECT_UPDATE
@ CALLBACK_DLG_PARAMETERS
@ CALLBACK_PROCESS_SET_READY
int SG_UI_Msg_Lock(bool bOn)
bool SG_UI_Dlg_Parameters(CSG_Parameters *pParameters, const CSG_String &Caption)
bool SG_UI_DataObject_Update(CSG_Data_Object *pDataObject, int Show, CSG_Parameters *pParameters)
@ CALLBACK_DATAOBJECT_ADD
@ CALLBACK_DATAOBJECT_SHOW
bool SG_UI_DataObject_Add(CSG_Data_Object *pDataObject, int Show)
bool SG_UI_DataObject_Colors_Set(CSG_Data_Object *pDataObject, CSG_Colors *pColors)
void SG_UI_Process_Set_Text(const CSG_String &Text)
@ CALLBACK_DATAOBJECT_PARAMS_SET
int SG_UI_Progress_Lock(bool bOn)
@ CALLBACK_MESSAGE_ADD_EXECUTION
@ CALLBACK_PROCESS_SET_TEXT
static CSG_String Format(const char *Format,...)
bool SG_UI_DataObject_Colors_Get(CSG_Data_Object *pDataObject, CSG_Colors *pColors)
@ CALLBACK_MESSAGE_ADD_ERROR
int SG_UI_Dlg_Error(const CSG_String &Message, const CSG_String &Caption)
size_t to_UTF8(char **pString) const
bool SG_UI_DataObject_Params_Get(CSG_Data_Object *pDataObject, CSG_Parameters *pParameters)
@ CALLBACK_GET_APP_WINDOW
@ CALLBACK_DATAOBJECT_DEL
bool is_Empty(void) const
bool SG_UI_Process_Set_Progress(int Position, int Range)
@ CALLBACK_WINDOW_ARRANGE
bool SG_UI_Progress_is_Locked(void)
bool SG_UI_Console_Get_UTF8(void)
bool SG_UI_Diagram_Show(class CSG_Table *pTable, class CSG_Parameters *pParameters)
int SG_UI_Window_Arrange(int Arrange)
@ CALLBACK_DATAOBJECT_PARAMS_GET
void * SG_UI_Get_Window_Main(void)
static bool gSG_UI_Console_bUTF8
@ CALLBACK_PROCESS_GET_OKAY
bool SG_UI_DataObject_asImage(CSG_Data_Object *pDataObject, CSG_Grid *pGrid)
const CSG_String & Get_Name(void) const
void SG_UI_ProgressAndMsg_Lock(bool bOn)
const SG_Char * c_str(void) const
bool SG_UI_Process_Set_Ready(void)
void SG_UI_Msg_Add_Error(const char *Message)
void SG_UI_Msg_Flush(void)
void SG_UI_Console_Print_StdErr(const char *Text, SG_Char End, bool bFlush)
@ CALLBACK_DATAOBJECT_ASIMAGE
@ CALLBACK_DATAOBJECT_COLORS_SET
void SG_UI_Msg_Add(const char *Message, bool bNewLine, TSG_UI_MSG_STYLE Style)