/dports/games/freeciv-nox11/freeciv-2.6.6/client/ |
H A D | options.c | 695 poption->changed_callback(poption); in option_changed() 739 return poption->bool_vtable->get(poption); in option_bool_get() 750 return poption->bool_vtable->def(poption); in option_bool_def() 776 return poption->int_vtable->get(poption); in option_int_get() 787 return poption->int_vtable->def(poption); in option_int_def() 835 return poption->str_vtable->get(poption); in option_str_get() 846 return poption->str_vtable->def(poption); in option_str_def() 922 return poption->enum_vtable->get(poption); in option_enum_get_int() 1000 if (poption->enum_vtable->set(poption, in option_enum_set_str() 3190 poption = OPTION(client_##poption); [all …]
|
H A D | options.h | 401 int option_number(const struct option *poption); 407 int option_category(const struct option *poption); 412 bool option_reset(struct option *poption); 415 void option_changed(struct option *poption); 425 bool option_bool_get(const struct option *poption); 426 bool option_bool_def(const struct option *poption); 430 int option_int_get(const struct option *poption); 431 int option_int_def(const struct option *poption); 432 int option_int_min(const struct option *poption); 433 int option_int_max(const struct option *poption); [all …]
|
/dports/games/freeciv/freeciv-2.6.6/client/ |
H A D | options.c | 695 poption->changed_callback(poption); in option_changed() 739 return poption->bool_vtable->get(poption); in option_bool_get() 750 return poption->bool_vtable->def(poption); in option_bool_def() 776 return poption->int_vtable->get(poption); in option_int_get() 787 return poption->int_vtable->def(poption); in option_int_def() 835 return poption->str_vtable->get(poption); in option_str_get() 846 return poption->str_vtable->def(poption); in option_str_def() 922 return poption->enum_vtable->get(poption); in option_enum_get_int() 1000 if (poption->enum_vtable->set(poption, in option_enum_set_str() 3190 poption = OPTION(client_##poption); [all …]
|
H A D | options.h | 401 int option_number(const struct option *poption); 407 int option_category(const struct option *poption); 412 bool option_reset(struct option *poption); 415 void option_changed(struct option *poption); 425 bool option_bool_get(const struct option *poption); 426 bool option_bool_def(const struct option *poption); 430 int option_int_get(const struct option *poption); 431 int option_int_def(const struct option *poption); 432 int option_int_min(const struct option *poption); 433 int option_int_max(const struct option *poption); [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-qt/ |
H A D | optiondlg.cpp | 259 option_bool_set(poption, get_bool(poption)); in apply_options() 262 option_int_set(poption, get_int(poption)); in apply_options() 519 set_bool(poption, option_bool_get(poption)); in option_dialog_refresh() 522 set_int(poption, option_int_get(poption)); in option_dialog_refresh() 525 set_string(poption, option_str_get(poption)); in option_dialog_refresh() 534 set_font(poption, option_font_get(poption)); in option_dialog_refresh() 537 set_color(poption, option_color_get(poption)); in option_dialog_refresh() 573 set_bool(poption, option_bool_def(poption)); in option_dialog_reset() 576 set_int(poption, option_int_def(poption)); in option_dialog_reset() 579 set_string(poption, option_str_def(poption)); in option_dialog_reset() [all …]
|
H A D | optiondlg.h | 56 void add_option(struct option *poption); 58 void option_dialog_reset(struct option *poption); 64 void set_int(struct option *poption, int value); 66 void set_enum(struct option *poption, int index); 69 void set_font(struct option *poption, QString s); 71 bool get_bool(struct option *poption); 72 int get_int(struct option *poption); 73 QFont get_font(struct option *poption); 75 QByteArray get_string(struct option *poption); 76 int get_enum(struct option *poption); [all …]
|
H A D | gui_main.cpp | 77 static void apply_font(struct option *poption); 209 struct option *poption; in qtg_options_extra_init() local 358 void apply_titlebar(struct option *poption) in apply_titlebar() argument 363 val = option_bool_get(poption); in apply_titlebar() 387 void apply_sidebar(struct option *poption) in apply_sidebar() argument 395 static void apply_font(struct option *poption) in apply_font() argument 403 s = option_font_get(poption); in apply_font() 405 s = option_name(poption); in apply_font() 428 s = option_font_get(poption); in apply_help_font() 430 s = option_name(poption); in apply_help_font() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-qt/ |
H A D | optiondlg.cpp | 259 option_bool_set(poption, get_bool(poption)); in apply_options() 262 option_int_set(poption, get_int(poption)); in apply_options() 519 set_bool(poption, option_bool_get(poption)); in option_dialog_refresh() 522 set_int(poption, option_int_get(poption)); in option_dialog_refresh() 525 set_string(poption, option_str_get(poption)); in option_dialog_refresh() 534 set_font(poption, option_font_get(poption)); in option_dialog_refresh() 537 set_color(poption, option_color_get(poption)); in option_dialog_refresh() 573 set_bool(poption, option_bool_def(poption)); in option_dialog_reset() 576 set_int(poption, option_int_def(poption)); in option_dialog_reset() 579 set_string(poption, option_str_def(poption)); in option_dialog_reset() [all …]
|
H A D | optiondlg.h | 56 void add_option(struct option *poption); 58 void option_dialog_reset(struct option *poption); 64 void set_int(struct option *poption, int value); 66 void set_enum(struct option *poption, int index); 69 void set_font(struct option *poption, QString s); 71 bool get_bool(struct option *poption); 72 int get_int(struct option *poption); 73 QFont get_font(struct option *poption); 75 QByteArray get_string(struct option *poption); 76 int get_enum(struct option *poption); [all …]
|
H A D | gui_main.cpp | 77 static void apply_font(struct option *poption); 209 struct option *poption; in qtg_options_extra_init() local 358 void apply_titlebar(struct option *poption) in apply_titlebar() argument 363 val = option_bool_get(poption); in apply_titlebar() 387 void apply_sidebar(struct option *poption) in apply_sidebar() argument 395 static void apply_font(struct option *poption) in apply_font() argument 403 s = option_font_get(poption); in apply_font() 405 s = option_name(poption); in apply_font() 428 s = option_font_get(poption); in apply_help_font() 430 s = option_name(poption); in apply_help_font() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-3.0/ |
H A D | optiondlg.c | 542 int min = option_int_min(poption), max = option_int_max(poption); in option_dialog_option_add() 654 option_number(poption), option_name(poption)); in option_dialog_option_add() 747 value, option_name(poption), option_number(poption)); in option_dialog_option_enum_set() 817 option_dialog_option_bool_set(poption, option_bool_get(poption)); in option_dialog_option_refresh() 820 option_dialog_option_int_set(poption, option_int_get(poption)); in option_dialog_option_refresh() 823 option_dialog_option_str_set(poption, option_str_get(poption)); in option_dialog_option_refresh() 832 option_dialog_option_font_set(poption, option_font_get(poption)); in option_dialog_option_refresh() 855 option_dialog_option_bool_set(poption, option_bool_def(poption)); in option_dialog_option_reset() 858 option_dialog_option_int_set(poption, option_int_def(poption)); in option_dialog_option_reset() 861 option_dialog_option_str_set(poption, option_str_def(poption)); in option_dialog_option_reset() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-3.22/ |
H A D | optiondlg.c | 535 int min = option_int_min(poption), max = option_int_max(poption); in option_dialog_option_add() 647 option_number(poption), option_name(poption)); in option_dialog_option_add() 740 value, option_name(poption), option_number(poption)); in option_dialog_option_enum_set() 810 option_dialog_option_bool_set(poption, option_bool_get(poption)); in option_dialog_option_refresh() 813 option_dialog_option_int_set(poption, option_int_get(poption)); in option_dialog_option_refresh() 816 option_dialog_option_str_set(poption, option_str_get(poption)); in option_dialog_option_refresh() 825 option_dialog_option_font_set(poption, option_font_get(poption)); in option_dialog_option_refresh() 848 option_dialog_option_bool_set(poption, option_bool_def(poption)); in option_dialog_option_reset() 851 option_dialog_option_int_set(poption, option_int_def(poption)); in option_dialog_option_reset() 854 option_dialog_option_str_set(poption, option_str_def(poption)); in option_dialog_option_reset() [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-2.0/ |
H A D | optiondlg.c | 541 int min = option_int_min(poption), max = option_int_max(poption); in option_dialog_option_add() 651 option_number(poption), option_name(poption)); in option_dialog_option_add() 742 value, option_name(poption), option_number(poption)); in option_dialog_option_enum_set() 812 option_dialog_option_bool_set(poption, option_bool_get(poption)); in option_dialog_option_refresh() 815 option_dialog_option_int_set(poption, option_int_get(poption)); in option_dialog_option_refresh() 818 option_dialog_option_str_set(poption, option_str_get(poption)); in option_dialog_option_refresh() 827 option_dialog_option_font_set(poption, option_font_get(poption)); in option_dialog_option_refresh() 850 option_dialog_option_bool_set(poption, option_bool_def(poption)); in option_dialog_option_reset() 853 option_dialog_option_int_set(poption, option_int_def(poption)); in option_dialog_option_reset() 856 option_dialog_option_str_set(poption, option_str_def(poption)); in option_dialog_option_reset() [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-3.0/ |
H A D | optiondlg.c | 542 int min = option_int_min(poption), max = option_int_max(poption); in option_dialog_option_add() 654 option_number(poption), option_name(poption)); in option_dialog_option_add() 747 value, option_name(poption), option_number(poption)); in option_dialog_option_enum_set() 817 option_dialog_option_bool_set(poption, option_bool_get(poption)); in option_dialog_option_refresh() 820 option_dialog_option_int_set(poption, option_int_get(poption)); in option_dialog_option_refresh() 823 option_dialog_option_str_set(poption, option_str_get(poption)); in option_dialog_option_refresh() 832 option_dialog_option_font_set(poption, option_font_get(poption)); in option_dialog_option_refresh() 855 option_dialog_option_bool_set(poption, option_bool_def(poption)); in option_dialog_option_reset() 858 option_dialog_option_int_set(poption, option_int_def(poption)); in option_dialog_option_reset() 861 option_dialog_option_str_set(poption, option_str_def(poption)); in option_dialog_option_reset() [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-3.22/ |
H A D | optiondlg.c | 535 int min = option_int_min(poption), max = option_int_max(poption); in option_dialog_option_add() 647 option_number(poption), option_name(poption)); in option_dialog_option_add() 740 value, option_name(poption), option_number(poption)); in option_dialog_option_enum_set() 810 option_dialog_option_bool_set(poption, option_bool_get(poption)); in option_dialog_option_refresh() 813 option_dialog_option_int_set(poption, option_int_get(poption)); in option_dialog_option_refresh() 816 option_dialog_option_str_set(poption, option_str_get(poption)); in option_dialog_option_refresh() 825 option_dialog_option_font_set(poption, option_font_get(poption)); in option_dialog_option_refresh() 848 option_dialog_option_bool_set(poption, option_bool_def(poption)); in option_dialog_option_reset() 851 option_dialog_option_int_set(poption, option_int_def(poption)); in option_dialog_option_reset() 854 option_dialog_option_str_set(poption, option_str_def(poption)); in option_dialog_option_reset() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-2.0/ |
H A D | optiondlg.c | 541 int min = option_int_min(poption), max = option_int_max(poption); in option_dialog_option_add() 651 option_number(poption), option_name(poption)); in option_dialog_option_add() 742 value, option_name(poption), option_number(poption)); in option_dialog_option_enum_set() 812 option_dialog_option_bool_set(poption, option_bool_get(poption)); in option_dialog_option_refresh() 815 option_dialog_option_int_set(poption, option_int_get(poption)); in option_dialog_option_refresh() 818 option_dialog_option_str_set(poption, option_str_get(poption)); in option_dialog_option_refresh() 827 option_dialog_option_font_set(poption, option_font_get(poption)); in option_dialog_option_refresh() 850 option_dialog_option_bool_set(poption, option_bool_def(poption)); in option_dialog_option_reset() 853 option_dialog_option_int_set(poption, option_int_def(poption)); in option_dialog_option_reset() 856 option_dialog_option_str_set(poption, option_str_def(poption)); in option_dialog_option_reset() [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-xaw/ |
H A D | optiondlg.c | 183 options_iterate(poptset, poption) { in option_dialog_new() 212 options_iterate(poptset, poption) { in option_dialog_new() 214 option_set_gui_data(poption, NULL); in option_dialog_new() 216 switch (option_type(poption)) { in option_dialog_new() 288 option_type(poption)); in option_dialog_new() 340 option_action(poption); in option_dialog_foreach() 351 switch (option_type(poption)) { in option_dialog_option_refresh() 376 option_type(poption)); in option_dialog_option_refresh() 391 switch (option_type(poption)) { in option_dialog_option_apply() 397 option_bool_set(poption, b); in option_dialog_option_apply() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-xaw/ |
H A D | optiondlg.c | 183 options_iterate(poptset, poption) { in option_dialog_new() 212 options_iterate(poptset, poption) { in option_dialog_new() 214 option_set_gui_data(poption, NULL); in option_dialog_new() 216 switch (option_type(poption)) { in option_dialog_new() 288 option_type(poption)); in option_dialog_new() 340 option_action(poption); in option_dialog_foreach() 351 switch (option_type(poption)) { in option_dialog_option_refresh() 376 option_type(poption)); in option_dialog_option_refresh() 391 switch (option_type(poption)) { in option_dialog_option_apply() 397 option_bool_set(poption, b); in option_dialog_option_apply() [all …]
|
/dports/net-mgmt/yaf/yaf-2.11.0/airframe/src/ |
H A D | airopt.c | 161 struct poptOption poption; in air_option_context_add_group() local 163 poption.longName = NULL; in air_option_context_add_group() 164 poption.shortName = '\0'; in air_option_context_add_group() 166 poption.arg = entries; in air_option_context_add_group() 167 poption.val = 0; in air_option_context_add_group() 169 poption.argDescrip = NULL; in air_option_context_add_group() 233 struct poptOption poption; in air_option_context_set_help_enabled() local 235 poption.longName = NULL; in air_option_context_set_help_enabled() 236 poption.shortName = '\0'; in air_option_context_set_help_enabled() 239 poption.val = 0; in air_option_context_set_help_enabled() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-sdl2/ |
H A D | optiondlg.c | 436 option_widget_apply(poption); in apply_callback() 526 switch (option_type(poption)) { in option_widget_new() 603 option_type(poption)); in option_widget_new() 634 fc_assert_ret(NULL != poption); in option_widget_update() 642 switch (option_type(poption)) { in option_widget_update() 687 option_type(poption)); in option_widget_update() 702 fc_assert_ret(NULL != poption); in option_widget_apply() 706 switch (option_type(poption)) { in option_widget_apply() 758 option_type(poption)); in option_widget_apply() 920 options_iterate(poptset, poption) { in optset_category_option_count() [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-sdl/ |
H A D | optiondlg.c | 424 option_widget_apply(poption); in apply_callback() 507 switch (option_type(poption)) { in option_widget_new() 583 option_type(poption)); in option_widget_new() 614 fc_assert_ret(NULL != poption); in option_widget_update() 621 switch (option_type(poption)) { in option_widget_update() 665 option_type(poption)); in option_widget_update() 680 fc_assert_ret(NULL != poption); in option_widget_apply() 684 switch (option_type(poption)) { in option_widget_apply() 747 option_type(poption)); in option_widget_apply() 909 options_iterate(poptset, poption) { in optset_category_option_count() [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-sdl2/ |
H A D | optiondlg.c | 436 option_widget_apply(poption); in apply_callback() 526 switch (option_type(poption)) { in option_widget_new() 603 option_type(poption)); in option_widget_new() 634 fc_assert_ret(NULL != poption); in option_widget_update() 642 switch (option_type(poption)) { in option_widget_update() 687 option_type(poption)); in option_widget_update() 702 fc_assert_ret(NULL != poption); in option_widget_apply() 706 switch (option_type(poption)) { in option_widget_apply() 758 option_type(poption)); in option_widget_apply() 920 options_iterate(poptset, poption) { in optset_category_option_count() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-sdl/ |
H A D | optiondlg.c | 424 option_widget_apply(poption); in apply_callback() 507 switch (option_type(poption)) { in option_widget_new() 583 option_type(poption)); in option_widget_new() 614 fc_assert_ret(NULL != poption); in option_widget_update() 621 switch (option_type(poption)) { in option_widget_update() 665 option_type(poption)); in option_widget_update() 680 fc_assert_ret(NULL != poption); in option_widget_apply() 684 switch (option_type(poption)) { in option_widget_apply() 747 option_type(poption)); in option_widget_apply() 909 options_iterate(poptset, poption) { in optset_category_option_count() [all …]
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/include/ |
H A D | optiondlg_g.h | 25 GUI_FUNC_PROTO(void, option_gui_update, struct option *poption) 26 GUI_FUNC_PROTO(void, option_gui_add, struct option *poption) 27 GUI_FUNC_PROTO(void, option_gui_remove, struct option *poption)
|
/dports/games/freeciv/freeciv-2.6.6/client/include/ |
H A D | optiondlg_g.h | 25 GUI_FUNC_PROTO(void, option_gui_update, struct option *poption) 26 GUI_FUNC_PROTO(void, option_gui_add, struct option *poption) 27 GUI_FUNC_PROTO(void, option_gui_remove, struct option *poption)
|