ListCalendar -> CalendarEditor; ListMap -> MapEditor

This commit is contained in:
rolux 2012-06-05 10:25:27 +02:00
parent 2fd3345328
commit 6c5b8ef0b6
4 changed files with 14 additions and 18 deletions

View file

@ -1,14 +1,13 @@
'use strict';
/*@
Ox.ListCalendar <f> List Calendar
([options[, self]]) -> <o:Ox.SplitPanel> List Calendar
Ox.CalendarEditor <f> Calendar Editor
([options[, self]]) -> <o:Ox.SplitPanel> Calendar Editor
options <o> Options
self <o> Shared private variable
@*/
// FIXME: should be Ox.CalendarEditor
Ox.ListCalendar = function(options, self) {
Ox.CalendarEditor = function(options, self) {
self = self || {};
var that = Ox.Element({}, self)
@ -553,7 +552,7 @@ Ox.ListCalendar = function(options, self) {
],
orientation: 'horizontal'
})
.addClass('OxListMap')
.addClass('OxCalendarEditor')
);
// if loaded with selection, set calendar and form

View file

@ -1,8 +1,8 @@
'use strict';
/*@
Ox.ListMap <f> ListMap object
([options[, self]]) -> <o:Ox.SplitPanel> ListMap object
Ox.MapEditor <f> Map Editor
([options[, self]]) -> <o:Ox.SplitPanel> Map Editor
options <o> Options object
height <n|256> Height in px
labels <b|false> If true, show labels
@ -13,9 +13,7 @@ Ox.ListMap <f> ListMap object
self <o> Shared private variable
@*/
// FIXME: Should be Ox.MapEditor
Ox.ListMap = function(options, self) {
Ox.MapEditor = function(options, self) {
self = self || {};
var that = Ox.Element({}, self)
@ -777,7 +775,7 @@ Ox.ListMap = function(options, self) {
],
orientation: 'horizontal'
})
.addClass('OxListMap')
.addClass('OxMapEditor')
);
function addPlace() {
@ -1138,7 +1136,7 @@ Ox.ListMap = function(options, self) {
that.focusList = function() {
self.$list.gainFocus();
return that;
}
};
/*@
reloadList <f> reloadList
@ -1146,13 +1144,12 @@ Ox.ListMap = function(options, self) {
that.reloadList = function() {
self.$list.reloadList();
return that;
}
};
/*@
resizeMap <f> resizeMap
@*/
that.resizeMap = function() {
Ox.Log('Map', 'Ox.ListMap.resizeMap()')
self.$map.resizeMap();
return that;
};

View file

@ -193,7 +193,7 @@ Calendar
color: rgb(64, 64, 64);
}
.OxThemeClassic .OxListCalendar .OxWarning {
.OxThemeClassic .OxCalendarEditor .OxWarning {
border-bottom: 2px dotted rgb(255, 64, 64);
}
@ -559,7 +559,7 @@ Maps
.OxThemeClassic .OxTypeIcon {
border-color: rgb(0, 0, 0);
}
.OxThemeClassic .OxListMap .OxWarning {
.OxThemeClassic .OxMapEditor .OxWarning {
border-bottom: 2px dotted rgb(255, 64, 64);
}

View file

@ -193,7 +193,7 @@ Calendar
color: rgb(192, 192, 192);
}
.OxThemeModern .OxListCalendar .OxWarning {
.OxThemeModern .OxCalendarEditor .OxWarning {
border-bottom: 2px dotted rgb(192, 0, 0);
}
@ -549,7 +549,7 @@ Maps
.OxThemeModern .OxTypeIcon {
border-color: rgb(255, 255, 255);
}
.OxThemeModern .OxListMap .OxWarning {
.OxThemeModern .OxMapEditor .OxWarning {
border-bottom: 2px dotted rgb(192, 0, 0);
}