Roxen.git / server / modules / graphics / gbutton.pike

version» Context lines:

Roxen.git/server/modules/graphics/gbutton.pike:18:   // icon-data -- inline icon data   // align -- left|center|right text alignment   // align-icon -- left|center-before|center-after|right icon alignment   // valign-icon -- above|middle|below icon vertical alignment   // >Button text</gbutton>   //   // Alignment restriction: when text alignment is either left or right, icons   // must also be aligned left or right.       - constant cvs_version = "$Id: gbutton.pike,v 1.83 2001/04/03 07:29:40 per Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.84 2001/07/09 13:39:21 nilsson Exp $";   constant thread_safe = 1;      #include <module.h>   inherit "module";      roxen.ImageCache button_cache;   int do_ext;      constant module_type = MODULE_TAG;   constant module_name = "Graphics: GButton";
Roxen.git/server/modules/graphics/gbutton.pike:763:    "al" : args->align || "left", // Text alignment    "dim" : (args->dim || // Button dimming    (< "dim", "disabled" >)[lower_case(args->state || "")]),    "icn" : args->icon_src &&    Roxen.fix_relative(args->icon_src, id), // Icon URL    "icd" : args->icon_data, // Inline icon data    "ica" : lower_case(args->align_icon || "left"), // Icon alignment    "icva": lower_case(args->valign_icon || "middle"),// Vertical align    "font": (args->font||id->misc->defines->font||    roxen->query("default_font")), +  "fontkey": roxen->fonts->verify_font(args->font||id->misc->defines->font),    "border_image":fi,    "extra_layers":args["extra-layers"],    "extra_left_layers":args["extra-left-layers"],    "extra_right_layers":args["extra-right-layers"],    "extra_background_layers":args["extra-background-layers"],    "extra_mask_layers":args["extra-mask-layers"],    "extra_frame_layers":args["extra-frame-layers"],    "scale":args["scale"],    "format":args["format"],    "gamma":args["gamma"],