disable exceptions in visual studio, use xK notation for resolution, upgrade up to 32K resolution, mask resolution not doubled anymore, transform interactive controls to move, scale and rotate the selection
This commit is contained in:
15
src/app.cpp
15
src/app.cpp
@@ -606,6 +606,21 @@ void App::update_rec_frames()
|
||||
}
|
||||
}
|
||||
|
||||
int App::res_from_index(int i)
|
||||
{
|
||||
return res_map[i];
|
||||
}
|
||||
|
||||
int App::res_to_index(int res)
|
||||
{
|
||||
return std::distance(res_map.begin(), std::find(res_map.begin(), res_map.end(), res));
|
||||
}
|
||||
|
||||
std::string App::res_to_string(int res)
|
||||
{
|
||||
return res_map_str[res_to_index(res)];
|
||||
}
|
||||
|
||||
void App::rec_clear()
|
||||
{
|
||||
rec_stop();
|
||||
|
||||
Reference in New Issue
Block a user