summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* ui: allow manually drawing tab widgetad/pkg/walk/manual-draw-tabwidgetAnthony Dong2019-05-082-1/+81
|
* mainwindow: exit in response to ENDSESSION_CLOSEAPPJason A. Donenfeld2019-05-081-0/+8
|
* tabwidget: use DPI-dependent bitmap sizeJason A. Donenfeld2019-05-081-1/+1
| | | | This is pending lxn's rewrite of the icon code.
* webview: removeJason A. Donenfeld2019-05-088-1719/+0
| | | | We don't want anything resembling a browser engine near this app.
* global: replace class namesJason A. Donenfeld2019-05-0817-17/+17
|
* declarative: removeJason A. Donenfeld2019-05-0849-5503/+0
|
* Merge pull request #510 from zx2c4-forks/jd/forgottableviewcolumnAlexander Neumann2019-05-081-0/+1
|\ | | | | tableviewcolumn: do DPI conversion in create() too
| * tableviewcolumn: do DPI conversion in create() tooJason A. Donenfeld2019-05-071-0/+1
|/ | | | | You remembered the update()->getLVCOLUMN() path, but forgot about the create() path, so this fixes that oversight.
* Widget[Base]: Add *Pixel variants of MinSize, MaxSize and SetMinMaxSizeAlexander Neumann2019-05-077-11/+61
|
* More work on multi monitor HIDPIAlexander Neumann2019-05-0731-156/+315
|
* Merge branch 'master' of github.com:lxn/walkAlexander Neumann2019-05-071-9/+2
|\
| * Merge pull request #509 from zx2c4-forks/jd/notifyicon-hack-fixAlexander Neumann2019-05-071-9/+2
| |\ | | | | | | notifyicon: remove balloon icon hack
| | * notifyicon: remove balloon icon hackJason A. Donenfeld2019-05-061-9/+2
| |/ | | | | | | | | | | We either need to upgrade the whole state machine to notify icon v4, or not use this parameter. The trick here works on Windows 10, but not on Windows 7.
* | Merge branch 'master' of github.com:lxn/walkAlexander Neumann2019-05-068-24/+240
|\|
| * Merge pull request #503 from zx2c4-forks/jd/notifyicon-iconsAlexander Neumann2019-05-061-20/+50
| |\ | | | | | | notifyicon: allow showing custom icons and receiving balloon clicks
| | * notifyicon: receive events when user clicks popup balloonJason A. Donenfeld2019-05-051-8/+17
| | | | | | | | | | | | | | | Depends-on: https://github.com/lxn/win/pull/68 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
| | * notifyicon: allow showing custom iconsJason A. Donenfeld2019-05-051-12/+33
| | | | | | | | | | | | | | | | | | Depends-on: https://github.com/lxn/win/pull/68 Resolves: https://github.com/lxn/walk/pull/232 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
| * | Merge pull request #502 from zx2c4-forks/jd/defawlt-yes-i-know-how-to-spell-but-default-is-a-reserved-keyword-in-golangAlexander Neumann2019-05-062-0/+82
| |\ \ | | | | | | | | action: allow menu actions to have MFS_DEFAULT specified
| | * | action: allow menu actions to have MFS_DEFAULT specifiedJason A. Donenfeld2019-05-042-0/+82
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | We can't use MFS_DEFAULT, because items fail to get inserted if it was ever used once prior, due to an old Windows bug. But we can get the same thing with SetMenuDefaultItem. Depends-on: https://github.com/lxn/win/pull/71 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
| * | Merge pull request #507 from zx2c4-forks/jd/tooltip-mixed-toolbuttonAlexander Neumann2019-05-061-2/+6
| |\ \ | | | | | | | | ui: show tooltips for buttons with no text
| | * | ui: show tooltips for buttons with no textJason A. Donenfeld2019-05-051-2/+6
| | |/ | | | | | | | | | | | | | | | | | | This allows tooltips to explain what a button does in a mixed text and image bar. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
| * | Merge pull request #506 from zx2c4-forks/jd/shortcutactionAlexander Neumann2019-05-061-0/+14
| |\ \ | | | | | | | | actionlist: provide means of attaching shortcuts to windows
| | * | actionlist: provide means of attaching shortcuts to windowsJason A. Donenfeld2019-05-051-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior, only shortcuts for main menus worked. With this, it's possible to attach context menu shortcuts or toolbar shortcuts to arbitrary window objects. This isn't super elegant -- it'd be nice were this done automatically. But even in the automatic case, it's possible that folks might want to attach shortcuts to additional windows beyond the one that has the toolbar or context menu. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
| * | | Merge pull request #504 from zx2c4-forks/jd/tooltip-lengthAlexander Neumann2019-05-061-2/+4
| |\ \ \ | | | | | | | | | | tooltip: increase max length
| | * | | tooltip: increase max lengthJason A. Donenfeld2019-05-051-2/+4
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | The maximum of 80 hasn't been enforced in super long time and can be considered "historic". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
| * | | Merge pull request #500 from dfbag7/add-font-mem-resourceAlexander Neumann2019-05-062-0/+84
| |\ \ \ | | |/ / | |/| | Add FontMemResource type
| | * | Replace call to deprecated StringToUTF16Ptr() with UTF16PtrFromString()Dmitry Bagdanov2019-05-021-1/+6
| | | |
| | * | Update AUTHORS fileDmitry Bagdanov2019-05-021-0/+1
| | | |
| | * | Rewrite implementation to much walk's approachDmitry Bagdanov2019-05-021-6/+21
| | | |
| | * | add FontMemResource type which allows to load fonts from the application's resourcesDmitry Bagdanov2019-05-021-0/+63
| | | |
* | | | Export some HIDPI related helpersAlexander Neumann2019-05-065-23/+23
|/ / /
* | | Merge branch 'master' of github.com:lxn/walkAlexander Neumann2019-05-021-0/+4
|\ \ \
| * \ \ Merge pull request #499 from zx2c4-forks/jd/tabbpagelistAlexander Neumann2019-05-021-0/+4
| |\ \ \ | | |/ / | |/| | TabPageList: Recalculate layout on addition
| | * | TabPageList: Recalculate layout on additionJason A. Donenfeld2019-05-021-0/+4
| |/ / | | | | | | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* / / Cache dpi to avoid repetitive calls to GetDpiForWindowAlexander Neumann2019-05-024-29/+45
|/ /
* | Avoid some ineffiency in layouts and factor out common stuff into LayoutBaseAlexander Neumann2019-05-018-312/+221
| | | | | | | | FormBase now notifies descendants of dpi changes so we don't need to recalculate real margins and spacing on every layout update
* | Add DoubleBuffering getter and declarative stuffAlexander Neumann2019-05-0139-0/+53
| |
* | Merge pull request #497 from zx2c4-forks/jd/tableviewAlexander Neumann2019-05-011-7/+22
|\ \ | |/ |/| tableview: allow efficiently selecting all indices
| * tableview: allow efficiently selecting all indicesJason A. Donenfeld2019-05-011-7/+22
|/ | | | | | The -1 convention is the same as what the win32 API takes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Update example manifest files for multi monitor hidpiAlexander Neumann2019-04-3024-72/+144
|
* Initial multi monitor HIDPI supportAlexander Neumann2019-04-3016-141/+275
|
* GroupBox: Use left margin from layout for check box offsetAlexander Neumann2019-04-291-1/+7
|
* GroupBox: Fix overdrawing of contained composite with double bufferingAlexander Neumann2019-04-291-5/+13
|
* Merge pull request #494 from zx2c4-forks/jd/dbAlexander Neumann2019-04-291-0/+10
|\ | | | | window: allow setting double buffering
| * window: allow setting double bufferingJason A. Donenfeld2019-04-271-0/+10
| | | | | | | | | | | | This might be useful for reducing flicker on some complex controls. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* | Merge pull request #493 from zx2c4-forks/masterAlexander Neumann2019-04-291-6/+7
|\ \ | |/ |/| form: don't use Go heap for MSG
| * form: don't use Go heap for MSGJason A. Donenfeld2019-04-271-6/+7
|/ | | | | | | | | | | | | | | | | | | It's not entirely clear to me what's going on here, and I'm only half-certain that this fixes the issue, due to it being somewhat hard to reproduce. However, here's what I suspect is going on. Because we're passing this as a pointer to various levels of function calls that might store a reference to the pointer, Go allocates the variable on the heap. Later, various closures are allocated on the same heap, during which time some global Go lock is taken and W^X page permissions are twiddled with. The Go locking then doesn't effect functions that are in win32api calls, and at the critical moment, the variable no longer has writable page permissions. While this might point to deeper Go runtime issues, we just work around this here by allocating the variable using GlobalAlloc. At the very least, I haven't been able to reproduce the bug after applying this patch. Fixes: #483 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ImageView: Default to transparent backgroundAlexander Neumann2019-04-241-0/+2
|
* Add NewIconFromBitmapAlexander Neumann2019-04-231-4/+18
|
* Bitmap: Also provide alpha in ToImageAlexander Neumann2019-04-231-1/+2
|