CountButtons
int32 CountButtons();
int32 CountButtons() const;
if (index >= CountButtons())
if (CountButtons() == 0)
for (int32 index = 0; index < CountButtons(); index++) {
for (int32 index = 0; index < CountButtons(); index++) {
for (int32 index = 0; index < CountButtons(); index++) {
if (fButtonSpacing == B_OFFSET_SPACING && CountButtons() > 1) {
for (int i = 0; i < fAlert->CountButtons(); ++i) {
fKillAppButton = ButtonAt(CountButtons() - 1);
fCancelShutdownButton = ButtonAt(CountButtons() - 1);
fRebootSystemButton = ButtonAt(CountButtons() - 1);
fAbortedOKButton = ButtonAt(CountButtons() - 1);
int32 numButtons = stick->CountButtons();
int32 numButtons = fStick->CountButtons();
count = stick->CountButtons();
int32 CountButtons() const;