~audio-recorder/audio-recorder/trunk

« back to all changes in this revision

Viewing changes to src/rec-window.h

  • Committer: Osmo Antero
  • Date: 2012-09-29 18:12:44 UTC
  • Revision ID: osmoma@gmail.com-20120929181244-gmrxd5xww9pua60a
Support new systems; Ubuntu 12.10, Fedora 18. Improved timer and VAD-modules. Better gst-pipeline.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#include <gtk/gtk.h>
6
6
#include <gdk/gdk.h>
7
7
 
 
8
#include "gtklevelbar.h"
 
9
 
8
10
// Width of the settings window
9
11
#define PREF_WINDOW_WIDTH 300
10
12
 
11
 
// Text on the level indicator (GtkLevelBar)
12
 
enum LevelTextType {
13
 
    LEVEL_TEXT_NONE, // Do not show level value
14
 
    LEVEL_TEXT_PERCENT, // show % value
15
 
    LEVEL_TEXT_DB // show decibel (dB) value
16
 
};
17
 
 
18
13
// Settings for main window
19
14
typedef struct {
20
15
#ifdef APP_HAS_MENU
45
40
 
46
41
    GtkWidget *settings_button; // Additional settings button
47
42
 
48
 
    enum LevelTextType level_ttype;
 
43
    enum SCALE_TYPE scale_type; // Scale (numbers) on level/progress bar
49
44
 
50
45
} MainWindow;
51
46
 
79
74
void systray_set_menu_items2(gboolean show);
80
75
const gchar *systray_get_indicator_type();
81
76
 
82
 
 
83
77
#endif
84
78