1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00
transmission/gtk/hig.h
Jordan Lee 879a2afcbd Update the copyright year in the source code comments.
The Berne Convention says that the copyright year is moot, so instead of adding another year to each file as in previous years, I've removed the year altogether from the source code comments in libtransmission, gtk, qt, utils, daemon, and cli.

Juliusz's copyright notice in tr-dht and Johannes' copyright notice in tr-lpd have been left alone; it didn't seem appropriate to modify them.
2011-01-19 13:48:47 +00:00

86 lines
3.2 KiB
C

/*
* This file Copyright (C) Mnemosyne LLC
*
* This file is licensed by the GPL version 2. Works owned by the
* Transmission project are granted a special exemption to clause 2(b)
* so that the bulk of its code can remain under the MIT license.
* This exemption does not extend to derived works not owned by
* the Transmission project.
*
* $Id$
*/
#ifndef GTR_HIG_H
#define GTR_HIG_H
#include <gtk/gtk.h>
/**
*** utility code for making dialog layout that follows the Gnome HIG.
*** see section 8.2.2, Visual Design > Window Layout > Dialogs.
**/
GtkWidget* hig_workarea_create( void );
void hig_workarea_add_section_divider( GtkWidget * table,
int * row );
void hig_workarea_add_section_title_widget( GtkWidget * t,
int * row,
GtkWidget * w );
void hig_workarea_add_section_title( GtkWidget * table,
int * row,
const char * section_title );
void hig_workarea_add_wide_tall_control( GtkWidget * table,
int * row,
GtkWidget * w );
void hig_workarea_add_wide_control( GtkWidget * table,
int * row,
GtkWidget * w );
GtkWidget* hig_workarea_add_wide_checkbutton( GtkWidget * table,
int * row,
const char * mnemonic_string,
gboolean is_active );
GtkWidget* hig_workarea_add_label( GtkWidget * table,
int row,
const char * mnemonic_string );
void hig_workarea_add_label_w( GtkWidget * table,
int row,
GtkWidget * label_widget );
GtkWidget* hig_workarea_add_tall_row( GtkWidget * table,
int * row,
const char * mnemonic_string,
GtkWidget * control,
GtkWidget * mnemonic_or_null_for_control );
GtkWidget* hig_workarea_add_row( GtkWidget * table,
int * row,
const char * mnemonic_string,
GtkWidget * control,
GtkWidget * mnemonic_or_null_for_control );
void hig_workarea_add_row_w( GtkWidget * table,
int * row,
GtkWidget * label,
GtkWidget * control,
GtkWidget * mnemonic_or_null_for_control );
void hig_workarea_finish( GtkWidget * table,
int * row );
enum
{
GUI_PAD_SMALL = 3,
GUI_PAD = 6,
GUI_PAD_BIG = 12,
GUI_PAD_LARGE = 12
};
#endif /* GTR_HIG_H */