#include "gitkrincludes.h"
Include dependency graph for gitk-renderer-phone/gitkrlayout.c:
Go to the source code of this file.
Defines | |
#define | giml_ctrl_text N_("Next"); |
#define | giml_ctrl_text N_("Prev"); |
#define | GITK_RENDERER_C |
#define | GITKR_LAYOUT_C |
#define | LINES 99 |
Functions | |
void | gitkr_dialog_free_layout (GitkDialogPtr dialog) |
frees the layout data of a dialog | |
void | gitkr_dialog_generate_dialog_widgets (GitkDialogPtr dialog) |
generate dialog meta widgets | |
void | gitkr_dialog_generate_hierarchical_layout (GitkDialogPtr dialog, xmlNodePtr root) |
generate a layout with pure hierarchical order | |
void | gitkr_dialog_generate_layout (GitkDialogPtr dialog) |
generate a layout for a given dialog | |
void | gitkr_dialog_generate_sequential_layout (GitkDialogPtr dialog, xmlNodePtr root) |
generate a layout with pure sequential order | |
gint | gitkr_dialog_generate_sequential_layout_build_page (GitkDialogPtr dialog, xmlNodePtr root, xmlXPathCompExprPtr xpath_get_widgets, gint pageIx) |
build a single page | |
gint | gitkr_dialog_generate_sequential_layout_count_pages (GitkDialogPtr dialog, xmlNodePtr root, xmlNodeSetPtr pages, xmlXPathCompExprPtr xpath_get_widgets) |
helper function that calculates the number of page we will need | |
GitkrPhoneLayoutPtr | gitkr_dialog_new_layout (GitkDialogPtr dialog) |
create a initialise a layout structure | |
void | gitkr_dialog_output_layout (GitkDialogPtr dialog) |
display the layout of a dialog | |
GitkrPhoneWidgetPtr | gitkr_layout_get_current_widget (GitkrPhoneLayoutPtr layout) |
get the current active widget | |
gint | gitkr_layout_get_current_widget_line (GitkrPhoneLayoutPtr layout) |
get the line position of the current widget |
Definition in file gitk-renderer-phone/gitkrlayout.c.
|
Definition at line 20 of file gitk-renderer-phone/gitkrlayout.c. |
|
Definition at line 20 of file gitk-renderer-phone/gitkrlayout.c. |
|
Definition at line 24 of file gitk-renderer-phone/gitkrlayout.c. Referenced by gitkr_dialog_generate_layout(), gitkr_dialog_new_layout(), gitkr_dialog_output_layout(), and handle_dialog_ctrl_widgets(). |
|
frees the layout data of a dialog
Definition at line 428 of file gitk-renderer-phone/gitkrlayout.c. References GitkrPhoneLayout::ctrl, gitk_log, GitkDialogPtr, GitkrPhoneLayoutPtr, GitkrPhoneWidgetPtr, GitkrPhoneWidget::id, GitkrPhoneWidget::label, GitkDialog::layout, GitkrPhoneLayout::maxWidgetsPerPage, GitkrPhoneLayout::numberOfPages, GitkrPhoneLayout::pages, GitkrPhoneLayout::title, and GitkrPhoneLayoutPage::widgets. |
|
generate dialog meta widgets
Definition at line 81 of file gitk-renderer-phone/gitkrlayout.c. References GitkrPhoneLayout::ctrl, gitk_err, gitk_err1, gitk_log, gitk_log1, gitk_log3, GITK_NS_PREFIX, GitkDialogPtr, gitkr_widget_optionchoice_new(), GitkrPhoneLayoutPtr, GitkrPhoneWidgetPtr, GitkrPhoneWidget::id, GitkDialog::layout, GitkrPhoneLayoutPage::widgets, and GitkrPhoneLayoutPage::widgetsPerPage. |
Here is the call graph for this function:
|
generate a layout with pure hierarchical order
Definition at line 329 of file gitk-renderer-phone/gitkrlayout.c. References gitk_log, GitkDialogPtr, GitkrPhoneLayoutPtr, and GitkDialog::layout. |
|
generate a layout for a given dialog
Definition at line 30 of file gitk-renderer-phone/gitkrlayout.c. References gitk_err, gitk_log, GITK_NS_PREFIX, GitkDialogPtr, GitkLayoutPtr, gitkr_dialog_free_layout(), gitkr_dialog_generate_dialog_widgets(), gitkr_dialog_generate_sequential_layout(), gitkr_dialog_new_layout(), GitkrPhoneLayoutPtr, and GitkDialog::layout. |
Here is the call graph for this function:
|
generate a layout with pure sequential order
Definition at line 110 of file gitk-renderer-phone/gitkrlayout.c. References gitk_err, gitk_log, gitk_log1, GITK_NS_PREFIX, gitk_xpath_type_filter(), GitkDialogPtr, gitkr_dialog_generate_sequential_layout_build_page(), gitkr_dialog_generate_sequential_layout_count_pages(), GitkrPhoneLayoutPtr, GitkDialog::layout, GitkrPhoneLayout::maxWidgetsPerPage, GitkrPhoneLayout::numberOfPages, GitkrPhoneLayout::pages, GitkrPhoneLayout::title, and GitkrPhoneLayoutPage::widgets. |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
helper function that calculates the number of page we will need
Definition at line 167 of file gitk-renderer-phone/gitkrlayout.c. References gitk_log1, gitk_log_intro, gitk_log_outro, gitk_xpath_type_filter(), GitkDialogPtr, GitkrPhoneLayoutPtr, GitkDialog::layout, and GitkrPhoneLayout::maxWidgetsPerPage. |
Here is the call graph for this function:
|
create a initialise a layout structure
Definition at line 60 of file gitk-renderer-phone/gitkrlayout.c. References GitkrPhoneLayout::ctrl, GitkrPhoneLayout::currentPage, GitkrPhoneLayout::currentWidget, GitkrPhoneLayout::focus, GITK_FOCUS_TYPE_CTRL, gitk_log, GitkDialogPtr, gitkr_cxpath_get_string(), GitkrPhoneLayoutPtr, LINES, GitkrPhoneLayout::maxWidgetsPerPage, GitkrPhoneLayout::pages, GitkrPhoneLayout::title, GitkrPhoneLayoutPage::widgets, and xpath_get_dialog_name. |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
get the current active widget
Definition at line 467 of file gitk-renderer-phone/gitkrlayout.c. References GitkrPhoneLayout::currentPage, GitkrPhoneLayout::currentWidget, GitkrPhoneLayoutPtr, GitkrPhoneWidgetPtr, GitkrPhoneLayout::pages, and GitkrPhoneLayoutPage::widgets. |
|
get the line position of the current widget
Definition at line 480 of file gitk-renderer-phone/gitkrlayout.c. References GitkrPhoneLayout::currentWidget, and GitkrPhoneLayoutPtr. |