diff -r 92d9adf2567a nwidgets.tex --- a/nwidgets.tex Sat Mar 14 11:13:28 2009 +0100 +++ b/nwidgets.tex Sat Mar 14 12:29:16 2009 +0100 @@ -238,6 +238,18 @@ \textsc{WWT\_DROPDOWN} & (0, 12) & (false, false) & (0, 0) \\ \textsc{WWT\_DROPDOWNIN} & (0, 12) & (false, false) & (0, 0) \\ \hline \end{tabular} + +\begin{tabular}{|l|c|l|} \hline +\textbf{widget} & \textbf{data} & \textbf{tooltip} \\ \hline +\textsc{WWT\_SCROLLBAR} & 0x0 & \textsc{STR\_0190\_SCROLL\_BAR\_SCROLLS\_LIST} \\ +\textsc{WWT\_SCROLL2BAR} & 0x0 & \textsc{STR\_0190\_SCROLL\_BAR\_SCROLLS\_LIST} \\ +\textsc{WWT\_HSCROLLBAR} & 0x0 & \textsc{STR\_HSCROLL\_BAR\_SCROLLS\_LIST} \\ +\textsc{WWT\_CAPTION} & 0x0 & \textsc{STR\_018C\_WINDOW\_TITLE\_DRAG\_THIS} \\ +\textsc{WWT\_STICKYBOX} & \textsc{STR\_NULL} & \textsc{STR\_STICKY\_BUTTON} \\ +\textsc{WWT\_RESIZEBOX} & \textsc{STR\_NULL} & \textsc{STR\_RESIZE\_BUTTON} \\ +\textsc{WWT\_CLOSEBOX} & \textsc{STR\_00C5} & \textsc{STR\_018B\_CLOSE\_WINDOW} \\ +\hline +\end{tabular} \end{center} \caption{Default sizing settings for each type of \texttt{NLeafWidget} object.} \label{fig:nleafwidgetsettings} diff -r 92d9adf2567a src/widget.cpp --- a/src/widget.cpp Sat Mar 14 11:13:28 2009 +0100 +++ b/src/widget.cpp Sat Mar 14 12:29:16 2009 +0100 @@ -1312,12 +1312,14 @@ this->SetFill(true, false); this->SetResize(1, 0); this->min_y = 14; + this->SetDataTip(0x0, STR_018C_WINDOW_TITLE_DRAG_THIS); break; case WWT_HSCROLLBAR: this->SetFill(true, false); this->SetResize(1, 0); this->min_y = 12; + this->SetDataTip(0x0, STR_HSCROLL_BAR_SCROLLS_LIST); break; case WWT_STICKYBOX: