Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Abdelrazak Younes wrote: | > Hello, | > This patch make the qt3 frontend compile in the "younes" branches. | > It also update th scrollbar in the QContent::paintEvent(). I still | > have to read the Qt3 doc to see how to disable tracking in the | > scrollbar. | > Once the qt3 support is in and works, it should be reasonably easy | > to complete the xforms and gtk frontend also. | | The qt3 support is in and it works fine, the code for scrollbar | tracking for qt4 turned out to be the same for qt3 :-). | | Here is preliminar support for gtk and xforms. Don't know if it | compiles but it goes in "younes" now... In case somebody is interested | to complete the support. The scrollbar update is missing though in | both gtk and xforms as I don't know where to put that. Basically one | needs to translate this code from qt3 (in QContentPane::paintEvent()): | | BufferView * buffer_view_ = wa_->view().view(); | | buffer_view_->updateScrollbar(); | ScrollbarParameters const & scroll_ = buffer_view_->scrollbarParameters(); | | wa_->scrollbar_->setTracking(false); | wa_->setScrollbarParams(scroll_.height, scroll_.position, | scroll_.lineScrollHeight); | wa_->scrollbar_->setTracking(true); | | | Once I have sync my tree with trunk, I will be ready to merge.
Can you please do a full rebase of the branch, it is currently impossible to see from the log what differences there is between the branch and trunk. Also I am unable to to autotools builds in the branch, what happened to QtView? -- Lgb