- Jan 09, 2006
-
-
deuce authored
is actually used in the format string.
-
deuce authored
-
deuce authored
/usr/X11R6 (What MIT does by default) /usr/X11 (Usually a symlink to the current X11R*) /usr/X (Non-MIT implementations use this - eg: Solaris) /usr (Ubuntu 5.10 - <censored>)
-
runemaster authored
-
runemaster authored
-
runemaster authored
and added "Edit your profile" to page.
-
runemaster authored
-
runemaster authored
-
runemaster authored
-
runemaster authored
-
runemaster authored
-
runemaster authored
-
runemaster authored
-
runemaster authored
-
runemaster authored
-
runemaster authored
-
- Jan 08, 2006
-
-
runemaster authored
-
runemaster authored
-
- Jan 07, 2006
-
-
rswindell authored
Currently, #ifdef'd out for Deuce to look at/fix.
-
rswindell authored
Fixed warnings, removed "long long" and strtoll() references. btw, strtold() converts a string to a long double.
-
rswindell authored
File.length = length; File.position = length; length defaults to 0 (zero).
-
rswindell authored
-
- Jan 06, 2006
-
-
runemaster authored
-
rswindell authored
- Thanks RM for pointing out their absence.
-
runemaster authored
-
rswindell authored
The variable 'exit_code' is only used for the return value if it's a number. Bug-fix: sbbs_srand() wasn't being called - random number generator wasn't being seeded.
-
- Jan 04, 2006
-
-
runemaster authored
-
runemaster authored
Added a "Happy Birthday" message to user if it is their Birthday.
-
runemaster authored
-
- Dec 30, 2005
-
-
deuce authored
-
deuce authored
-
deuce authored
-
deuce authored
a non-zero positive number.
-
deuce authored
selected and acts as a seperator. Pipe-codes still result in highlighting, but the "hotkey" isn't.
-
deuce authored
-
deuce authored
I can't find a way to pass a single numeric variable by reference. Oh well, JS is supposed to do objects anyways. :-)
-
deuce authored
-
deuce authored
***NOTE*** Current is the first item that had the returned retval, NOT necessarily the selected item (if the same retval is used by multiple items)
-
deuce authored
Make spaces between horizontal options the default attribute. Rename uber-function to lightbar_func. Add object support. Create a new Lightbar object with: var lb=new Lightbar(); Or optionally specify items like so: var lb=new Lightbar([{text:"Option1",retval:"1"},{text:"Option2",retval:"2"}]); Add a new option to the end of the items like this: lb.add(text, retval [, width]); Clear the items array using: lb.clear(); Execute the lightbar with: lb.getval([currentindex]); // Returns the retval for the selected item Properties are: xpos: Horizontal position of lightbar menu (1-based) xpos: Vertical position of lightbar menu (1-based) items: an array of objects each having the following properties: text - The displayed text. A | prefixes a hotkey retval - The value to return if this is selected OPTIONAL Properties: width - The width of this item. If not specified, is the width of the text. Otherwise, the text is truncated or padded with spaces to fit the width. direction: 0 for vertical, 1 for horizontal. Horizontal menus always have one space of padding added between items. fg: Foreground colour of a non-current item bg: Background colour of a non-current item hfg: Foreground colour of a current item hbg: Background colour of a current item kfg: Hotkey forground colour for non-current item khfg: Hotkey foreground colour for current item current: Index of currently highlighted item (ToDo: This should be passed by reference (how?)!) align: If width is greater than the text length, a zero indicates the text should be left-aligned, a 1 indicates it should be right-aligned, and a 2 indicates it should be centered. The Lightbar object will display a list of options and prompt the user for a selection if lightbar_func() returns NULL. Still todo... make the current value stay at the last selected one.
-
deuce authored
Currently, there are WAY to many options... this needs a set of simplified wrappers and current needs to be passed by reference somehow.
-