#define SF(f) (QFP_t)SCB_NAME(f)
// these identifiers reflect the default column alignment but they really
// contain the WIN_t flag used to check/change justification at run-time!
- #define A_right Show_JRNUMS /* toggled with upper case 'J' */
#define A_left Show_JRSTRS /* toggled with lower case 'j' */
+ #define A_right Show_JRNUMS /* toggled with upper case 'J' */
/* .width anomalies:
a -1 width represents variable width columns
/*
* This guy is responsible for displaying the Insp_buf contents and
* managing all scrolling/locate requests until the user gives up. */
-static int insp_view_choice (proc_t *obj) {
+static int insp_view_choice (proc_t *p) {
#ifdef INSP_SLIDE_1
#define hzAMT 1
#else
#endif
#define maxLN (Screen_rows - (Msg_row +1))
#define makHD(b1,b2) { \
- snprintf(b1, sizeof(b1), "%d", obj->tid); \
- snprintf(b2, sizeof(b2), "%s", obj->cmd); }
+ snprintf(b1, sizeof(b1), "%d", p->tid); \
+ snprintf(b2, sizeof(b2), "%s", p->cmd); }
#define makFS(dst) { if (Insp_sel->flen < 22) \
snprintf(dst, sizeof(dst), "%s", Insp_sel->fstr); \
else snprintf(dst, sizeof(dst), "%.19s...", Insp_sel->fstr); }
char level = Tree_ppt[j]->pad_3;
while (j+1 < Frame_maxtask && Tree_ppt[j+1]->pad_3 > level) {
- Tree_ppt[j+1]->pad_2 = 'z';
+ ++j;
+ Tree_ppt[j]->pad_2 = 'z';
#ifndef TREE_VCPUOFF
- Hide_cpu[parent] += Tree_ppt[j+1]->pcpu;
+ Hide_cpu[parent] += Tree_ppt[j]->pcpu;
#endif
children = 1;
- ++j;
}
// children found (and collapsed), so mark that puppy
if (children) Tree_ppt[parent]->pad_2 = 'x';
}
return lwin;
- #undef winMIN
#undef isBUSY
+ #undef winMIN
} // end: window_show
\f
/*###### Entry point plus two ##########################################*/
//atic void insp_mkrow_raw (int col, int row);
//atic void insp_mkrow_utf8 (int col, int row);
//atic void insp_show_pgs (int col, int row, int max);
-//atic int insp_view_choice (proc_t *obj);
+//atic int insp_view_choice (proc_t *p);
//atic void inspection_utility (int pid);
/*------ Other Filtering ------------------------------------------------*/
//atic const char *osel_add (WIN_t *q, int ch, char *glob, int push);