00001 #ifndef __DISPLAY_H__ 00002 #define __DISPLAY_H__ 00003 00004 /** 00005 * File Name : display.h 00006 * 00007 * Description: The Display update functions 00008 */ 00009 00010 /* 00011 * This file is part of sysd. 00012 * 00013 * sysd is free software: you can redistribute it and/or modify 00014 * it under the terms of the GNU General Public License as published by 00015 * the Free Software Foundation, either version 2 of the License, or 00016 * (at your option) any later version. 00017 * 00018 * sysd is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License 00024 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00025 */ 00026 00027 /** 00028 * Copyright (C) 2008 iRex Technologies B.V. 00029 * All rights reserved. 00030 */ 00031 00032 //---------------------------------------------------------------------------- 00033 // Include Files 00034 //---------------------------------------------------------------------------- 00035 00036 00037 G_BEGIN_DECLS 00038 00039 00040 //---------------------------------------------------------------------------- 00041 // Definitions 00042 //---------------------------------------------------------------------------- 00043 00044 00045 //---------------------------------------------------------------------------- 00046 // Forward Declarations 00047 //---------------------------------------------------------------------------- 00048 00049 00050 //---------------------------------------------------------------------------- 00051 // Type Declarations 00052 //---------------------------------------------------------------------------- 00053 00054 00055 //---------------------------------------------------------------------------- 00056 // Global Constants 00057 //---------------------------------------------------------------------------- 00058 00059 00060 //============================================================================ 00061 // Public Functions 00062 //============================================================================ 00063 00064 /**--------------------------------------------------------------------------- 00065 * 00066 * Name : display_set_services 00067 * 00068 * @brief Initialize diplay update handling 00069 * 00070 * @param -- 00071 * 00072 * @return -- 00073 * 00074 *--------------------------------------------------------------------------*/ 00075 void display_set_services(void); 00076 00077 /**--------------------------------------------------------------------------- 00078 * 00079 * Name : display_blank 00080 * 00081 * @brief Erase display 00082 * 00083 * @param -- 00084 * 00085 * @return -- 00086 * 00087 *--------------------------------------------------------------------------*/ 00088 void display_blank(void); 00089 00090 /**--------------------------------------------------------------------------- 00091 * 00092 * Name : display_busy_animation 00093 * 00094 * @brief Show the busy animation 00095 * 00096 * @param xpos 00097 * @param ypos 00098 * 00099 * @return -- 00100 * 00101 *--------------------------------------------------------------------------*/ 00102 void display_busy_animation(gint xpos, gint ypos); 00103 00104 /**--------------------------------------------------------------------------- 00105 * 00106 * Name : display_get_active_window 00107 * 00108 * @brief Get the name of the active window 00109 * 00110 * @param -- 00111 * 00112 * @return -- 00113 * 00114 *--------------------------------------------------------------------------*/ 00115 gchar *display_get_active_window(); 00116 00117 /**--------------------------------------------------------------------------- 00118 * 00119 * Name : display_cleanup_pid 00120 * 00121 * @brief Remove PID from display information 00122 * 00123 * @param gint Process ID 00124 * 00125 * @return -- 00126 * 00127 *--------------------------------------------------------------------------*/ 00128 void display_cleanup_pid(gint pid); 00129 00130 void display_set_ctb_window(gint wid); 00131 void display_set_vcom(gfloat vcom); 00132 void display_set_waveforms(void); 00133 void display_init(void); 00134 00135 00136 G_END_DECLS 00137 00138 #endif /* __DISPLAY_H__*/