move functionality from Ox.UI.js to Core/UI.js
This commit is contained in:
parent
35e77e28ae
commit
1000cfe73e
1 changed files with 0 additions and 66 deletions
|
@ -442,72 +442,6 @@ Ox.load.UI = function(options, callback) {
|
||||||
outer.remove();
|
outer.remove();
|
||||||
return width;
|
return width;
|
||||||
})();
|
})();
|
||||||
//@ Ox.UI.getBarSize <s> get bar size by name
|
|
||||||
// fixme: the follwing should be deprecated
|
|
||||||
Ox.UI.getBarSize = function(size) {
|
|
||||||
var sizes = {
|
|
||||||
small: 20,
|
|
||||||
medium: 24,
|
|
||||||
large: 28
|
|
||||||
};
|
|
||||||
return sizes[size];
|
|
||||||
};
|
|
||||||
//@ Ox.UI.symbols <o> unicode symbols
|
|
||||||
// fixme: these should be part of Ox
|
|
||||||
Ox.UI.symbols = {
|
|
||||||
alt: '\u2325',
|
|
||||||
apple: '\uF8FF',
|
|
||||||
arrow_down: '\u2193',
|
|
||||||
arrow_left: '\u2190',
|
|
||||||
arrow_right: '\u2192',
|
|
||||||
arrow_up: '\u2191',
|
|
||||||
backspace: '\u232B',
|
|
||||||
backup: '\u2707',
|
|
||||||
ballot: '\u2717',
|
|
||||||
black_star: '\u2605',
|
|
||||||
burn: '\u2622',
|
|
||||||
caps_lock: '\u21EA',
|
|
||||||
check: '\u2713',
|
|
||||||
//clear: '\u2327',
|
|
||||||
clear: '\u00D7',
|
|
||||||
click: '\uF803',
|
|
||||||
close: '\u2715',
|
|
||||||
command: '\u2318',
|
|
||||||
control: '\u2303',
|
|
||||||
cut: '\u2702',
|
|
||||||
'delete': '\u2326',
|
|
||||||
diamond: '\u25C6',
|
|
||||||
edit: '\uF802',
|
|
||||||
eject: '\u23CF',
|
|
||||||
escape: '\u238B',
|
|
||||||
end: '\u2198',
|
|
||||||
enter: '\u2324',
|
|
||||||
fly: '\u2708',
|
|
||||||
gear: '\u2699',
|
|
||||||
home: '\u2196',
|
|
||||||
info: '\u24D8',
|
|
||||||
navigate: '\u2388',
|
|
||||||
option: '\u2387',
|
|
||||||
page_up: '\u21DE',
|
|
||||||
page_down: '\u21DF',
|
|
||||||
redo: '\u21BA',
|
|
||||||
'return': '\u21A9',
|
|
||||||
//select: '\u21D5',
|
|
||||||
select: '\u25BE',
|
|
||||||
shift: '\u21E7',
|
|
||||||
sound: '\u266B',
|
|
||||||
space: '\u2423',
|
|
||||||
tab: '\u21E5',
|
|
||||||
trash: '\u267A',
|
|
||||||
triangle_down: '\u25BC',
|
|
||||||
triangle_left: '\u25C0',
|
|
||||||
triangle_right: '\u25BA',
|
|
||||||
triangle_up: '\u25B2',
|
|
||||||
undo: '\u21BB',
|
|
||||||
voltage: '\u26A1',
|
|
||||||
warning: '\u26A0',
|
|
||||||
white_star: '\u2606'
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue