mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-22 03:22:48 -05:00
Settings: Rename INT/BOOL setting type enum to RB_INT/RB_BOOL
....Because INT and BOOL are already defined in mingw32. Change-Id: I28ab8189c00002c8f68bc9d0c23d2ae78d9e33d0
This commit is contained in:
parent
cb3a6877fc
commit
8cc3266b2a
38 changed files with 115 additions and 115 deletions
|
|
@ -46,7 +46,7 @@ static bool tv_horizontal_scroll_mode_setting(void)
|
|||
{"Scroll by Column", -1},
|
||||
};
|
||||
|
||||
return rb->set_option("Scroll Mode", &new_prefs.horizontal_scroll_mode, INT,
|
||||
return rb->set_option("Scroll Mode", &new_prefs.horizontal_scroll_mode, RB_INT,
|
||||
names, 2, NULL);
|
||||
}
|
||||
|
||||
|
|
@ -75,7 +75,7 @@ static bool tv_vertical_scroll_mode_setting(void)
|
|||
{"Scroll by Line", -1},
|
||||
};
|
||||
|
||||
return rb->set_option("Scroll Mode", &new_prefs.vertical_scroll_mode, INT,
|
||||
return rb->set_option("Scroll Mode", &new_prefs.vertical_scroll_mode, RB_INT,
|
||||
names, 2, NULL);
|
||||
}
|
||||
|
||||
|
|
@ -97,7 +97,7 @@ static bool tv_narrow_mode_setting(void)
|
|||
{"Top/Bottom Page", -1},
|
||||
};
|
||||
|
||||
return rb->set_option("Left/Right Key", &new_prefs.narrow_mode, INT,
|
||||
return rb->set_option("Left/Right Key", &new_prefs.narrow_mode, RB_INT,
|
||||
names, 2, NULL);
|
||||
}
|
||||
|
||||
|
|
@ -138,7 +138,7 @@ static bool tv_encoding_setting(void)
|
|||
names[idx].voice_id = -1;
|
||||
}
|
||||
|
||||
return rb->set_option("Encoding", &new_prefs.encoding, INT, names,
|
||||
return rb->set_option("Encoding", &new_prefs.encoding, RB_INT, names,
|
||||
sizeof(names) / sizeof(names[0]), NULL);
|
||||
}
|
||||
|
||||
|
|
@ -149,7 +149,7 @@ static bool tv_word_wrap_setting(void)
|
|||
{"Off (Chop Words)", -1},
|
||||
};
|
||||
|
||||
return rb->set_option("Word Wrap", &new_prefs.word_mode, INT,
|
||||
return rb->set_option("Word Wrap", &new_prefs.word_mode, RB_INT,
|
||||
names, 2, NULL);
|
||||
}
|
||||
|
||||
|
|
@ -162,7 +162,7 @@ static bool tv_line_mode_setting(void)
|
|||
{"Reflow Lines", -1},
|
||||
};
|
||||
|
||||
return rb->set_option("Line Mode", &new_prefs.line_mode, INT, names,
|
||||
return rb->set_option("Line Mode", &new_prefs.line_mode, RB_INT, names,
|
||||
sizeof(names) / sizeof(names[0]), NULL);
|
||||
}
|
||||
|
||||
|
|
@ -179,7 +179,7 @@ static bool tv_alignment_setting(void)
|
|||
{"Right", -1},
|
||||
};
|
||||
|
||||
return rb->set_option("Alignment", &new_prefs.alignment, INT,
|
||||
return rb->set_option("Alignment", &new_prefs.alignment, RB_INT,
|
||||
names , 2, NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue