/dports/deskutils/aspostit/aspostit-1.3/ |
H A D | util.c | 78 if (app_res.save_notes) in ByeBye() 89 if (app_res.save_notes) in ByeBye() 282 if (app_res.note_dir[0] != '/') in SetNoteDir() 300 app_res.note_dir = PutHome (app_res.note_dir); in SetNoteDir() 330 rc = mkdir (app_res.note_dir, 0755); in SetNoteDir() 340 app_res.note_dir); in SetNoteDir() 365 if (app_res.tmp_dir[0] != '/') in SetTempDir() 383 app_res.tmp_dir = PutHome (app_res.tmp_dir); in SetTempDir() 398 printf (" leading to %s\n", app_res.tmp_dir); in SetTempDir() 414 rc = mkdir (app_res.tmp_dir, 0755); in SetTempDir() [all …]
|
H A D | xpostit.c | 122 AppRes app_res; /* xpostit application resources */ variable 193 XtGetApplicationResources(toplevel, &app_res, resources, 199 if (app_res.help) { 206 if (app_res.version) { 266 if (!app_res.nosave) { 267 timer_interval = app_res.interval * 60 * 1000; 277 if (!app_res.noalarm) { 311 if (app_res.save_notes)
|
H A D | note.c | 241 perror(app_res.note_dir); in LoadSavedNotes() 283 if (app_res.compatibility) { in LoadSavedNotes() 407 n = (len + app_res.buf_size - 1) / app_res.buf_size; in LoadSavedNotes() 408 n = n * app_res.buf_size; in LoadSavedNotes() 958 if (!app_res.noalarm) { 1018 if (app_res.scroll_bar) { 1123 if (app_res.home_dir == NULL) { 1132 path = PutHome(app_res.home_dir); 1166 if (app_res.home_dir == NULL) { 1175 path = PutHome(app_res.home_dir); [all …]
|
H A D | name.c | 172 SetArg(XtNwidth, (app_res.name_width*30)); 178 SetArg(XtNwidth, (app_res.name_width*(strlen((char *)pn->pn_name)+10)));
|
/dports/emulators/spim/spim-8.0/xspim/ |
H A D | xspim.c | 313 if (app_res.bare) in initialize() 320 if (app_res.asmm) in initialize() 327 if (app_res.delayed_branches) in initialize() 330 if (app_res.delayed_loads) in initialize() 333 if (app_res.pseudo) in initialize() 338 if (app_res.exception) in initialize() 349 if (app_res.quiet) in initialize() 354 if (app_res.mapped_io) in initialize() 359 if (app_res.filename) in initialize() 420 AppResources app_res; in main() local [all …]
|
/dports/print/gv/gv-3.7.4/src/ |
H A D | main.c | 731 app_res.minimum_width = app_res.minimum_width < 300 ? 300 : app_res.minimum_width; in main() 732 app_res.minimum_height = app_res.minimum_height < 300 ? 300 : app_res.minimum_height; in main() 754 if (app_res.scale == -1000) in main() 765 else if (app_res.scale == -1001) in main() 779 else if (app_res.scale == -1002) in main() 793 else if (app_res.scale == -1003) in main() 809 if (app_res.scale < 0) app_res.scale = (-app_res.scale)|SCALE_MIN; in main() 815 if (app_res.scale_base<1) app_res.scale_base = 1; in main() 821 if (app_res.confirm_quit < 0) app_res.confirm_quit = 0; in main() 822 else if (app_res.confirm_quit > 2) app_res.confirm_quit = 2; in main() [all …]
|
H A D | options_gv.c | 135 widgets_setToggle(watchToggle, (app_res.watch_file ? 1 : 0)); in options_gv_setOptionsAtEntry() 226 b = app_res.antialias; in options_gv_cb_apply() 229 if (b != app_res.antialias) reopen=True; in options_gv_cb_apply() 236 if (b != app_res.auto_resize) { in options_gv_cb_apply() 251 if (b != app_res.watch_file) { in options_gv_cb_apply() 265 if (s_media) XtFree(app_res.default_pagemedia); in options_gv_cb_apply() 269 app_res.default_pagemedia = XtNewString(app_res.default_pagemedia); in options_gv_cb_apply() 283 if (s_fmedia) XtFree(app_res.fallback_pagemedia); in options_gv_cb_apply() 287 app_res.fallback_pagemedia = XtNewString(app_res.fallback_pagemedia); in options_gv_cb_apply() 291 if (s_orient) XtFree(app_res.default_orientation); in options_gv_cb_apply() [all …]
|
H A D | options_setup.c | 124 widgets_setToggle(pixmapToggle, (app_res.use_bpixmap ? 1 : 0)); in options_setup_setOptionsAtEntry() 125 widgets_setToggle(autoCenterToggle, (app_res.auto_center ? 1 : 0)); in options_setup_setOptionsAtEntry() 148 s=confirm_quit_styles[app_res.confirm_quit]; in options_setup_setOptionsAtEntry() 153 s=title_styles[app_res.title_style]; in options_setup_setOptionsAtEntry() 180 app_res.auto_center = SwitchIsSet(autoCenterToggle) ? True : False ; in options_setup_cb_apply() 182 b = app_res.use_bpixmap; in options_setup_cb_apply() 183 app_res.use_bpixmap = SwitchIsSet(pixmapToggle) ? True : False; in options_setup_cb_apply() 185 if (b != app_res.use_bpixmap) reopen=True; in options_setup_cb_apply() 195 if (j != app_res.title_style) { in options_setup_cb_apply() 196 app_res.title_style = j; in options_setup_cb_apply() [all …]
|
H A D | options_fs.c | 93 SMESSAGE(app_res.scratch_dir) in options_fs_setOptionsAtEntry() 94 widgets_setText(scratch_dir, app_res.scratch_dir); in options_fs_setOptionsAtEntry() 95 SMESSAGE(app_res.default_save_dir) in options_fs_setOptionsAtEntry() 96 widgets_setText(default_save_dir, app_res.default_save_dir); in options_fs_setOptionsAtEntry() 119 options_textApply(scratch_dir,&s_scratch_dir,&app_res.scratch_dir); in options_fs_cb_apply() 120 options_textApply(default_save_dir,&s_default_save_dir,&app_res.default_save_dir); in options_fs_cb_apply() 125 XtSetArg(args[n], XtNtmpDir, app_res.scratch_dir); n++; in options_fs_cb_apply()
|
H A D | callbacks.c | 194 if (app_res.title_style != 0) { in cb_showTitle() 198 bitmap = app_res.document_bitmap; in cb_showTitle() 336 app_res.antialias = app_res.antialias ? False : True; in cb_antialias() 356 app_res.use_bpixmap = app_res.use_bpixmap ? False : True; in cb_useBackingPixmap() 488 if (app_res.watch_file) { in watch_file() 500 app_res.watch_file = app_res.watch_file ? False : True; in cb_watchFile() 591 if (app_res.confirm_print) { in cb_print() 761 if (!save_directory && app_res.default_save_dir) path=app_res.default_save_dir; in cb_save() 1165 app_res.auto_resize = !(app_res.auto_resize); in cb_autoResize() 1484 if (app_res.confirm_quit>=1) { in cb_quitGhostview() [all …]
|
H A D | misc.c | 181 if (!app_res.scrolling_eye_guide) { in misc_drawEyeGuide() 955 bitmap = app_res.document_bitmap; 1128 if (auto_resize != app_res.auto_resize) { 1136 if (app_res.auto_resize==False) { 1167 if (app_res.auto_resize==False) { 1222 XtSetArg(args[0], XtNleftBitmap, app_res.selected_bitmap); 1300 XtSetArg(args[n], XtNleftBitmap, app_res.selected_bitmap); n++; 1410 if (from_doc) bitmap = app_res.document_bitmap; 1411 else bitmap = app_res.selected_bitmap; 1522 if (from_doc) bitmap = app_res.document_bitmap; [all …]
|
/dports/x11/xmotd/xmotd-1.17.3b/ |
H A D | main.c | 212 if(app_res.usedomains) in getTimeStampName() 311 if(!app_res.periodic) in Quit() 443 if((numsg || app_res.paranoid || app_res.always) && app_res.warnfile) in numFilesToDisplay() 445 newmsg = newMessage(app_res.warnfile); in numFilesToDisplay() 551 if(app_res.paranoid && !app_res.warnfile) 568 if(!app_res.periodic && !numsg) 581 if(atomExists(app_res.atomname)){ 633 loadLogo(app_res.logo, &icon_pixmap, fg, bg); in createWidgets() 754 if(app_res.tail) in createWidgets() 774 if(app_res.pto) in createWidgets() [all …]
|
H A D | xmotd.c | 80 extern app_res_t app_res; 112 if(app_res.showfilename) /*show the filename */ in nextMessage() 159 if(app_res.pto) in nextMessage() 160 timer=XtAppAddTimeOut(app_con, (unsigned long)(app_res.pto*1000), in nextMessage() 164 if(app_res.pto) in nextMessage() 165 timer=XtAppAddTimeOut(app_con, (unsigned long)(app_res.pto*1000), in nextMessage()
|
H A D | browser.c | 40 extern app_res_t app_res; 59 if ( ! app_res.browser ) { in __ExecWebBrowser() 62 local_browser=app_res.browser; in __ExecWebBrowser()
|
H A D | changed.c | 38 extern app_res_t app_res; 63 if(!motdstat.st_size && !app_res.always) in motdChanged()
|
/dports/deskutils/xpostitPlus/XPostitPlus-2.3/ |
H A D | util.c | 83 if (app_res.save_notes) in ByeBye() 91 if (app_res.save_notes) in ByeBye() 256 if (app_res.note_dir[0] != '/') in SetNoteDir() 274 sprintf(fname, "%s/%s", home, app_res.note_dir); in SetNoteDir() 277 app_res.note_dir = s; in SetNoteDir() 286 if ( ( rc = stat ( app_res.note_dir, stat_buf ) ) !=0 ) { in SetNoteDir() 290 printf ( " leading to %s\n", app_res.note_dir ); in SetNoteDir() 306 rc = mkdir ( app_res.note_dir, 0755 ); in SetNoteDir() 308 printf ("Can't create %s\n; Aborting", app_res.note_dir ); in SetNoteDir() 315 app_res.note_dir ); in SetNoteDir() [all …]
|
H A D | xpostit.c | 121 AppRes app_res; /* xpostit application resources */ variable 194 XtGetApplicationResources(toplevel, &app_res, resources, 200 if ( app_res.help ) 208 if ( app_res.version ) 249 if ( !app_res.nosave ) 251 timer_interval = app_res.interval * 60 * 1000; 262 if ( !app_res.noalarm )
|
H A D | note.c | 255 perror(app_res.note_dir); in LoadSavedNotes() 298 if (app_res.compatibility) { in LoadSavedNotes() 432 n = (len + app_res.buf_size - 1) / app_res.buf_size; in LoadSavedNotes() 433 n = n * app_res.buf_size; in LoadSavedNotes() 1005 if ( !app_res.noalarm ) 1071 if (app_res.scroll_bar) { 1133 if ( app_res.home_dir == NULL ) 1149 strcpy(path, app_res.home_dir); 1184 if ( app_res.home_dir == NULL ) 1200 strcpy(path, app_res.home_dir); [all …]
|
H A D | name.c | 170 SetArg(XtNwidth, (app_res.name_width*30)); 176 SetArg(XtNwidth, (app_res.name_width*(strlen((char *)pn->pn_name)+10)));
|
/dports/deskutils/xpostit/xpostit-3.3.1.orig/ |
H A D | util.c | 61 if (app_res.save_notes) in ByeBye() 84 if (app_res.note_dir[0] == '/') in SetNoteDir() 102 sprintf(fname, "%s/%s", home, app_res.note_dir); in SetNoteDir() 105 app_res.note_dir = s; in SetNoteDir() 119 sprintf(fname, "%s/%s%d", app_res.note_dir, PostItNoteFname, index);
|
H A D | xpostit.c | 111 AppRes app_res; /* xpostit application resources */ variable 180 XtGetApplicationResources(toplevel, &app_res, resources, 250 if (app_res.save_notes)
|
H A D | note.c | 254 if ((dp = opendir(app_res.note_dir)) == NULL) in LoadSavedNotes() 273 sprintf(fname, "%s/%s", app_res.note_dir, d->d_name); in LoadSavedNotes() 380 n = (len + app_res.buf_size - 1) / app_res.buf_size; in LoadSavedNotes() 381 n = n * app_res.buf_size; in LoadSavedNotes() 623 if (app_res.scroll_bar) { 757 if (access(app_res.note_dir, 0) < 0) { 758 if (mkdir(app_res.note_dir, 0700) < 0) { 760 perror(app_res.note_dir); 1114 pn->pn_textsize = app_res.buf_size;
|
/dports/games/magiccube4d/magiccube4d-src-2_2/ |
H A D | MachineX.cpp | 358 putenvFromBool(M4D_OUTLINE, app_res.outline); in resourcesToEnvironment() 359 putenvFromBool(M4D_DRAW_NEW_STATE, app_res.redraw); in resourcesToEnvironment() 362 putenvFromBool(M4D_NO_BUTTONS, app_res.nobuttons); in resourcesToEnvironment() 364 putenvFromString(M4D_INC, app_res.degrees); in resourcesToEnvironment() 368 putenvFromString(M4D_EYEW, app_res.eyew); in resourcesToEnvironment() 369 putenvFromString(M4D_EYEZ, app_res.eyez); in resourcesToEnvironment() 370 putenvFromString(M4D_NSHADES, app_res.nshades); in resourcesToEnvironment() 371 putenvFromString(M4D_TILT, app_res.tilt); in resourcesToEnvironment() 372 putenvFromString(M4D_TWIRL, app_res.twirl); in resourcesToEnvironment() 374 putenvFromString(M4D_LOGFILE, app_res.logfile); in resourcesToEnvironment() [all …]
|
/dports/x11/xprompt/xprompt-1.4/ |
H A D | xprompt.c | 88 } app_resourceRec, *app_res; typedef 94 XtOffset(app_res, rlen), XtRImmediate, (caddr_t) 80}, 96 XtOffset(app_res, grab), XtRImmediate, (caddr_t) TRUE }, 100 XtOffset(app_res, rfont), XtRString, NULL}, 102 XtOffset(app_res, pfont), XtRString, NULL}, 106 XtOffset(app_res, texttranslationfile), XtRString, NULL}, 108 XtOffset(app_res, texttranslations), XtRString, NULL}, 110 XtOffset(app_res, wordchars), XtRString, "a-zA-Z0-9"}, 112 XtOffset(app_res, warp), XtRImmediate, (caddr_t) FALSE }, 117 XtOffset(app_res, borderwidth), XtRImmediate, (caddr_t) 1}, [all …]
|
/dports/graphics/xtexcad/xtexcad-2.4.1/ |
H A D | oberfl.c | 96 } app_res; variable 197 InitDB(topForm, app_res.initMoveBase, app_res.initUnitLength); in main() 213 app_res.font, app_res.foreground, background, in main() 214 app_res.initRasterHeight); in main() 221 app_res.ruler_font, app_res.foreground, background); in main() 223 raster = app_res.Raster; in main() 225 snap = app_res.Snappy; in main() 227 unlimitedSlopes = app_res.unlimitedSlopes; in main() 231 ruler = app_res.Ruler; in main() 233 cross = app_res.Cross; in main() [all …]
|