~ubuntu-branches/ubuntu/precise/nvidia-settings/precise

« back to all changes in this revision

Viewing changes to src/gtk+-2.x/ctkutils.h

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Milone
  • Date: 2010-06-27 18:59:46 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100627185946-zpgnp08qs5do500z
Tags: 256.35-0ubuntu1
* New upstream release:
  - Fixed a bug that caused nvidia-settings to crash when rendering
    its thermal gauge widget if the range of valid values for the
    thermal sensor was empty.
  - Improved Thermal Settings reporting in nvidia-settings to
    accurately reflect hardware configurations with multiple thermal
    sensors.
* debian/docs:
  - Remove Makefile.inc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include <gtk/gtk.h>
29
29
#include <NvCtrlAttributes.h>
30
30
 
 
31
#include "ctkconfig.h"
 
32
 
31
33
G_BEGIN_DECLS
32
34
 
33
35
gchar* create_gpu_name_string(NvCtrlAttributeHandle *gpu_handle);
34
36
 
 
37
 
 
38
GtkWidget *add_table_row_with_help_text(GtkWidget *table,
 
39
                                        CtkConfig *ctk_config,
 
40
                                        const char *help,
 
41
                                        const gint row,
 
42
                                        const gint col,
 
43
                                        // 0 = left, 1 = right
 
44
                                        const gfloat name_xalign,
 
45
                                        // 0 = top, 1 = bottom
 
46
                                        const gfloat name_yalign,
 
47
                                        const gchar *name,
 
48
                                        const gfloat value_xalign,
 
49
                                        const gfloat value_yalign,
 
50
                                        const gchar *value);
 
51
 
35
52
GtkWidget *add_table_row(GtkWidget *, const gint,
36
53
                         const gfloat, const gfloat, const gchar *,
37
54
                         const gfloat, const gfloat, const gchar *);
44
61
 
45
62
void ctk_empty_container(GtkWidget *);
46
63
 
 
64
void update_display_enabled_flag(NvCtrlAttributeHandle *handle,
 
65
                                 gboolean *display_enabled,
 
66
                                 unsigned int display_device_mask);
 
67
 
47
68
G_END_DECLS
48
69
 
49
70
#endif /* __CTK_UTILS_H__ */