Use fl_get_winorigin in preference to fl_get_wingeometry.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5397 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-10-14 16:43:47 +00:00
parent 2be0bac89c
commit a6c2a6d154
3 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2002-10-08 Angus Leeming <leeming@lyx.org>
* FeedbackController.C (PrehandlerCB):
* combox.C (show): use fl_get_winorigin in preference to
fl_get_wingeometry.
2002-10-14 Angus Leeming <leeming@lyx.org>
* Tooltips.h (set) make it private:

View File

@ -92,10 +92,9 @@ void FeedbackController::PrehandlerCB(FL_OBJECT * ob, int event, int key)
// in case the FL_ENTER event is not caught.
FL_FORM * const folder = fl_get_active_folder(ob);
if (folder->window) {
FL_Coord w, h;
fl_get_wingeometry(folder->window,
&(folder->x), &(folder->y), &w, &h);
if (folder && folder->window) {
fl_get_winorigin(folder->window,
&(folder->x), &(folder->y));
}
} else if (message_widget_ &&

View File

@ -290,10 +290,9 @@ void Combox::show()
// Angus 4 Oct, 2002.
if (label->form->window) {
FL_FORM * lf = label->form;
FL_Coord w, h;
fl_get_wingeometry(lf->window, &(lf->x), &(lf->y), &w, &h);
fl_get_winorigin(lf->window, &(lf->x), &(lf->y));
}
int const x = label->form->x + label->x;
int const y = label->form->y + label->y + label->h;