-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge core changes from qml-gui-wip #831
base: trunk
Are you sure you want to change the base?
Conversation
item_is_poi determines whether if an item is of a POI type or not
Navit drag map moves the map from an origin to a destination
I think that the build_android failure is related to https://github.com/navit-gps/navit/pull/827/files#diff-f940ede166f88341829e50c9c345047b |
*/ | ||
|
||
void navit_drag_map(struct navit *this_, struct point *origin, struct point *destination) { | ||
update_transformation(this_->trans, origin, destination); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this shall get a "public" function, I suggest to do some sanity checking here, like aborting if some of the parameters is NULL, issuing some err message if this is not expected. May help future users of this in calling the function right.
There are some core changes in qml-gui-wip that add some new features to core, use this PR to review those changes.