Added listbox color scheme

This commit is contained in:
cnjinhao
2014-12-30 06:28:23 +08:00
parent 052d34a746
commit aa12254844
22 changed files with 142 additions and 107 deletions

View File

@@ -908,12 +908,12 @@ namespace API
}
}
void caret_pos(window wd, int x, int y)
void caret_pos(window wd, const point& pos)
{
auto iwd = reinterpret_cast<restrict::core_window_t*>(wd);
internal_scope_guard lock;
if(restrict::window_manager.available(iwd) && iwd->together.caret)
iwd->together.caret->position(x, y);
iwd->together.caret->position(pos.x, pos.y);
}
nana::point caret_pos(window wd)