LibreOffice Module onlineupdate (master) 1
|
#include <stdio.h>
#include <gtk/gtk.h>
#include <unistd.h>
#include "progressui.h"
#include "readstrings.h"
#include "errors.h"
#include <string.h>
#include "progressui_gtk_icon.h"
Go to the source code of this file.
Macros | |
#define | TIMER_INTERVAL 100 |
Functions | |
static gboolean | UpdateDialog (gpointer) |
static gboolean | OnDeleteEvent (GtkWidget *, GdkEvent *, gpointer) |
int | InitProgressUI (int *pargc, char ***pargv) |
int | ShowProgressUI () |
void | QuitProgressUI () |
void | UpdateProgressUI (float progress) |
Variables | |
static float | sProgressVal |
static gboolean | sQuit = FALSE |
static gboolean | sEnableUI |
static guint | sTimerID |
static GtkWidget * | sWin |
static GtkWidget * | sLabel |
static GtkWidget * | sProgressBar |
static const char * | sProgramPath |
#define TIMER_INTERVAL 100 |
Definition at line 22 of file progressui_gtk.cxx.
Definition at line 59 of file progressui_gtk.cxx.
References sEnableUI, and sProgramPath.
|
static |
void QuitProgressUI | ( | ) |
Definition at line 131 of file progressui_gtk.cxx.
int ShowProgressUI | ( | ) |
Definition at line 68 of file progressui_gtk.cxx.
References FALSE, icon_data, StringTable::info, OK, OnDeleteEvent(), ReadStrings(), sEnableUI, sLabel, sProgramPath, sProgressBar, sProgressVal, sQuit, sTimerID, sWin, TIMER_INTERVAL, StringTable::title, and TRUE.
|
static |
Definition at line 36 of file progressui_gtk.cxx.
References sProgressBar, sProgressVal, sQuit, sWin, and TRUE.
void UpdateProgressUI | ( | float | progress | ) |
Definition at line 138 of file progressui_gtk.cxx.
References sProgressVal.
|
static |
Definition at line 26 of file progressui_gtk.cxx.
Referenced by InitProgressUI(), and ShowProgressUI().
|
static |
Definition at line 30 of file progressui_gtk.cxx.
Referenced by ShowProgressUI().
|
static |
Definition at line 33 of file progressui_gtk.cxx.
Referenced by InitProgressUI(), and ShowProgressUI().
|
static |
Definition at line 31 of file progressui_gtk.cxx.
Referenced by ShowProgressUI(), and UpdateDialog().
|
static |
Definition at line 24 of file progressui_gtk.cxx.
Referenced by ShowProgressUI(), UpdateDialog(), and UpdateProgressUI().
|
static |
Definition at line 25 of file progressui_gtk.cxx.
Referenced by QuitProgressUI(), ShowProgressUI(), and UpdateDialog().
|
static |
Definition at line 27 of file progressui_gtk.cxx.
Referenced by ShowProgressUI().
|
static |
Definition at line 29 of file progressui_gtk.cxx.
Referenced by ShowProgressUI(), and UpdateDialog().