Remove obsoleted and unused pieces
This commit is contained in:
@ -25,66 +25,12 @@
|
||||
#ifndef EEK_SECTION_H
|
||||
#define EEK_SECTION_H 1
|
||||
|
||||
/* Contains row-related functions that couldn't be done in Rust easily. */
|
||||
|
||||
#include <glib-object.h>
|
||||
#include "eek-element.h"
|
||||
#include "eek-types.h"
|
||||
#include "eek-keyboard.h"
|
||||
#include "src/keyboard.h"
|
||||
#include "src/layout.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define EEK_TYPE_SECTION (eek_section_get_type())
|
||||
G_DECLARE_DERIVABLE_TYPE(EekSection, eek_section, EEK, SECTION, EekElement)
|
||||
|
||||
/**
|
||||
* EekSectionClass:
|
||||
* @get_n_rows: virtual function for getting the number of rows in the section
|
||||
* @add_row: virtual function for adding a new row to the section
|
||||
* @get_row: virtual function for accessing a row in the section
|
||||
* @create_key: virtual function for creating key in the section
|
||||
* @key_pressed: class handler for #EekSection::key-pressed signal
|
||||
* @key_released: class handler for #EekSection::key-released signal
|
||||
* @key_locked: class handler for #EekSection::key-locked signal
|
||||
* @key_unlocked: class handler for #EekSection::key-unlocked signal
|
||||
* @key_cancelled: class handler for #EekSection::key-cancelled signal
|
||||
*/
|
||||
struct _EekSectionClass
|
||||
{
|
||||
/*< private >*/
|
||||
EekElementClass parent_class;
|
||||
|
||||
/*< private >*/
|
||||
/* padding */
|
||||
gpointer pdummy[19];
|
||||
};
|
||||
|
||||
GType eek_section_get_type (void) G_GNUC_CONST;
|
||||
|
||||
void eek_section_set_angle (EekSection *section,
|
||||
gint angle);
|
||||
gint eek_section_get_angle (EekSection *section);
|
||||
struct squeek_row *
|
||||
eek_section_get_row (EekSection *section);
|
||||
|
||||
struct squeek_button *eek_section_create_button (EekSection *section,
|
||||
const gchar *name,
|
||||
guint keycode, guint oref);
|
||||
struct squeek_button *eek_section_create_button_with_state(EekSection *self,
|
||||
const gchar *name,
|
||||
struct squeek_button *source);
|
||||
void
|
||||
eek_row_place_buttons(struct squeek_row *row, LevelKeyboard *keyboard);
|
||||
void eek_section_foreach (EekSection *section,
|
||||
ButtonCallback func,
|
||||
gpointer user_data);
|
||||
|
||||
gboolean eek_section_find(EekSection *section,
|
||||
struct squeek_button *button);
|
||||
|
||||
struct squeek_button *eek_section_find_key(EekSection *section,
|
||||
struct squeek_key *key);
|
||||
void eek_section_set_bounds(EekSection *section, EekBounds bounds);
|
||||
EekBounds eek_section_get_bounds(EekSection *section);
|
||||
G_END_DECLS
|
||||
#endif /* EEK_SECTION_H */
|
||||
|
||||
Reference in New Issue
Block a user