gui: split gui/main.c into smaller parts
[ladish.git] / gui / statusbar.h
blob4434d3478856f1b72f1c0bfa2e5cfbd0a411fd14
1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
2 /*
3 * LADI Session Handler (ladish)
5 * Copyright (C) 2010 Nedko Arnaudov <nedko@arnaudov.name>
7 **************************************************************************
8 * This file contains interface to the statusbar helpers
9 **************************************************************************
11 * LADI Session Handler is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * LADI Session Handler is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with LADI Session Handler. If not, see <http://www.gnu.org/licenses/>
23 * or write to the Free Software Foundation, Inc.,
24 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
27 #ifndef STATUSBAR_H__6A47F295_8858_4611_80D0_034A8FB3802A__INCLUDED
28 #define STATUSBAR_H__6A47F295_8858_4611_80D0_034A8FB3802A__INCLUDED
30 #include "common.h"
32 void init_statusbar(void);
34 void set_studio_status_text(const char * text);
35 GtkImage * get_status_image(void);
37 void set_latency_text(const char * text);
38 void clear_latency_text(void);
40 void set_dsp_load_text(const char * text);
41 void clear_dsp_load_text(void);
43 void set_xruns_text(const char * text);
44 void clear_xruns_text(void);
46 void set_sample_rate_text(const char * text);
47 void clear_sample_rate_text(void);
49 #endif /* #ifndef STATUSBAR_H__6A47F295_8858_4611_80D0_034A8FB3802A__INCLUDED */