summaryrefslogtreecommitdiff
path: root/vcl/source/uipreviewer
AgeCommit message (Collapse)Author
2012-11-13Avoid global static dataStephan Bergmann
...that (indirectly) allocates memory via rtl/alloc.h, thereby causing the rtl_cache_wsupdate_init thread to be spawned before main, as on Mac OS X that would interfere with the code in sal_detail_initialize to close all file descriptors >= 3 -- on Mac OS X the pthreads implementation makes use of KQUEUE file descriptors. * This commit removes enough global static data to make ui-preview work again on Mac OS X (where it crashed at startup when the main thread closed the KQUEUE fd used by pthreads implementation threads). gengal uses further static data (at least from module sb), so needs further clean-up. * Avoiding global static instances derived from class Application required the introduction of vcl/vclmain.hxx. * That the vcl library was linked against the static vclmain library (which only provides an implementation of main) appears to me to be a historic relic (all executables should either include a SAL_IMPLEMENT_MAIN or link against vclmain), so I removed that. Change-Id: I048aa616208cb3a1b9bd8dcc3b729ba1665729bd
2012-10-24vcl: uipreviewer: remove spurious "return false"Michael Stahl
Change-Id: Ie853d55f78f27a7249b8e960587c8d2bd833d1a7
2012-10-20deliberately no parent for dialogCaolán McNamara
Change-Id: Id28797b9c40694e1b43d1fdd1205833562d760b9
2012-09-28adapt uipreviewer for ucbhelper changeCaolán McNamara
Change-Id: I60463d107d49ecc78053dd2592fc207164708040
2012-09-28sort child positions within parents according to grid positionCaolán McNamara
so that tabbing between widgets jumps between then in a sensible order Change-Id: I852f4fb08781da2b703f8f87e84abdf4c366fa26
2012-09-28Cut Gordian Knot of helpids with .ui formatCaolán McNamara
There isn't really an equivalent feature in gtk as help ids (apparently anyway) Rather than munge one in, use the widget id + path as an unique help identifier For the retro-fit where code remains unchanged, don't override the .res loaded id with the .ui generated id Change-Id: I1befe77408cb317e0462dacb26b7d12f9399d372
2012-09-28hook up tooltipsCaolán McNamara
2012-09-28allow previewing trees without toplevel windowsCaolán McNamara
2012-09-28make dialogs closeable in previewerCaolán McNamara
2012-09-28set a default titleCaolán McNamara
2012-09-28Implement "visible" from builder. Fix queueResize.Caolán McNamara
The natural place to call queueResize is from Window::StateChanged => instant-beautiful ui-previewer demo. ship it.
2012-09-28add headerCaolán McNamara
2012-09-28bootstrap a ui-previewer for rendering GtkBuilder xml with vcl widgetsCaolán McNamara