Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ui: allow manually drawing tab widgetad/pkg/walk/manual-draw-tabwidget | Anthony Dong | 2019-05-08 | 2 | -1/+81 |
| | |||||
* | mainwindow: exit in response to ENDSESSION_CLOSEAPP | Jason A. Donenfeld | 2019-05-08 | 1 | -0/+8 |
| | |||||
* | tabwidget: use DPI-dependent bitmap size | Jason A. Donenfeld | 2019-05-08 | 1 | -1/+1 |
| | | | | This is pending lxn's rewrite of the icon code. | ||||
* | webview: remove | Jason A. Donenfeld | 2019-05-08 | 8 | -1719/+0 |
| | | | | We don't want anything resembling a browser engine near this app. | ||||
* | global: replace class names | Jason A. Donenfeld | 2019-05-08 | 17 | -17/+17 |
| | |||||
* | declarative: remove | Jason A. Donenfeld | 2019-05-08 | 49 | -5503/+0 |
| | |||||
* | Merge pull request #510 from zx2c4-forks/jd/forgottableviewcolumn | Alexander Neumann | 2019-05-08 | 1 | -0/+1 |
|\ | | | | | tableviewcolumn: do DPI conversion in create() too | ||||
| * | tableviewcolumn: do DPI conversion in create() too | Jason A. Donenfeld | 2019-05-07 | 1 | -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 SetMinMaxSize | Alexander Neumann | 2019-05-07 | 7 | -11/+61 |
| | |||||
* | More work on multi monitor HIDPI | Alexander Neumann | 2019-05-07 | 31 | -156/+315 |
| | |||||
* | Merge branch 'master' of github.com:lxn/walk | Alexander Neumann | 2019-05-07 | 1 | -9/+2 |
|\ | |||||
| * | Merge pull request #509 from zx2c4-forks/jd/notifyicon-hack-fix | Alexander Neumann | 2019-05-07 | 1 | -9/+2 |
| |\ | | | | | | | notifyicon: remove balloon icon hack | ||||
| | * | notifyicon: remove balloon icon hack | Jason A. Donenfeld | 2019-05-06 | 1 | -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/walk | Alexander Neumann | 2019-05-06 | 8 | -24/+240 |
|\| | |||||
| * | Merge pull request #503 from zx2c4-forks/jd/notifyicon-icons | Alexander Neumann | 2019-05-06 | 1 | -20/+50 |
| |\ | | | | | | | notifyicon: allow showing custom icons and receiving balloon clicks | ||||
| | * | notifyicon: receive events when user clicks popup balloon | Jason A. Donenfeld | 2019-05-05 | 1 | -8/+17 |
| | | | | | | | | | | | | | | | Depends-on: https://github.com/lxn/win/pull/68 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
| | * | notifyicon: allow showing custom icons | Jason A. Donenfeld | 2019-05-05 | 1 | -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-golang | Alexander Neumann | 2019-05-06 | 2 | -0/+82 |
| |\ \ | | | | | | | | | action: allow menu actions to have MFS_DEFAULT specified | ||||
| | * | | action: allow menu actions to have MFS_DEFAULT specified | Jason A. Donenfeld | 2019-05-04 | 2 | -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-toolbutton | Alexander Neumann | 2019-05-06 | 1 | -2/+6 |
| |\ \ | | | | | | | | | ui: show tooltips for buttons with no text | ||||
| | * | | ui: show tooltips for buttons with no text | Jason A. Donenfeld | 2019-05-05 | 1 | -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/shortcutaction | Alexander Neumann | 2019-05-06 | 1 | -0/+14 |
| |\ \ | | | | | | | | | actionlist: provide means of attaching shortcuts to windows | ||||
| | * | | actionlist: provide means of attaching shortcuts to windows | Jason A. Donenfeld | 2019-05-05 | 1 | -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-length | Alexander Neumann | 2019-05-06 | 1 | -2/+4 |
| |\ \ \ | | | | | | | | | | | tooltip: increase max length | ||||
| | * | | | tooltip: increase max length | Jason A. Donenfeld | 2019-05-05 | 1 | -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-resource | Alexander Neumann | 2019-05-06 | 2 | -0/+84 |
| |\ \ \ | | |/ / | |/| | | Add FontMemResource type | ||||
| | * | | Replace call to deprecated StringToUTF16Ptr() with UTF16PtrFromString() | Dmitry Bagdanov | 2019-05-02 | 1 | -1/+6 |
| | | | | |||||
| | * | | Update AUTHORS file | Dmitry Bagdanov | 2019-05-02 | 1 | -0/+1 |
| | | | | |||||
| | * | | Rewrite implementation to much walk's approach | Dmitry Bagdanov | 2019-05-02 | 1 | -6/+21 |
| | | | | |||||
| | * | | add FontMemResource type which allows to load fonts from the application's resources | Dmitry Bagdanov | 2019-05-02 | 1 | -0/+63 |
| | | | | |||||
* | | | | Export some HIDPI related helpers | Alexander Neumann | 2019-05-06 | 5 | -23/+23 |
|/ / / | |||||
* | | | Merge branch 'master' of github.com:lxn/walk | Alexander Neumann | 2019-05-02 | 1 | -0/+4 |
|\ \ \ | |||||
| * \ \ | Merge pull request #499 from zx2c4-forks/jd/tabbpagelist | Alexander Neumann | 2019-05-02 | 1 | -0/+4 |
| |\ \ \ | | |/ / | |/| | | TabPageList: Recalculate layout on addition | ||||
| | * | | TabPageList: Recalculate layout on addition | Jason A. Donenfeld | 2019-05-02 | 1 | -0/+4 |
| |/ / | | | | | | | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* / / | Cache dpi to avoid repetitive calls to GetDpiForWindow | Alexander Neumann | 2019-05-02 | 4 | -29/+45 |
|/ / | |||||
* | | Avoid some ineffiency in layouts and factor out common stuff into LayoutBase | Alexander Neumann | 2019-05-01 | 8 | -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 stuff | Alexander Neumann | 2019-05-01 | 39 | -0/+53 |
| | | |||||
* | | Merge pull request #497 from zx2c4-forks/jd/tableview | Alexander Neumann | 2019-05-01 | 1 | -7/+22 |
|\ \ | |/ |/| | tableview: allow efficiently selecting all indices | ||||
| * | tableview: allow efficiently selecting all indices | Jason A. Donenfeld | 2019-05-01 | 1 | -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 hidpi | Alexander Neumann | 2019-04-30 | 24 | -72/+144 |
| | |||||
* | Initial multi monitor HIDPI support | Alexander Neumann | 2019-04-30 | 16 | -141/+275 |
| | |||||
* | GroupBox: Use left margin from layout for check box offset | Alexander Neumann | 2019-04-29 | 1 | -1/+7 |
| | |||||
* | GroupBox: Fix overdrawing of contained composite with double buffering | Alexander Neumann | 2019-04-29 | 1 | -5/+13 |
| | |||||
* | Merge pull request #494 from zx2c4-forks/jd/db | Alexander Neumann | 2019-04-29 | 1 | -0/+10 |
|\ | | | | | window: allow setting double buffering | ||||
| * | window: allow setting double buffering | Jason A. Donenfeld | 2019-04-27 | 1 | -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/master | Alexander Neumann | 2019-04-29 | 1 | -6/+7 |
|\ \ | |/ |/| | form: don't use Go heap for MSG | ||||
| * | form: don't use Go heap for MSG | Jason A. Donenfeld | 2019-04-27 | 1 | -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 background | Alexander Neumann | 2019-04-24 | 1 | -0/+2 |
| | |||||
* | Add NewIconFromBitmap | Alexander Neumann | 2019-04-23 | 1 | -4/+18 |
| | |||||
* | Bitmap: Also provide alpha in ToImage | Alexander Neumann | 2019-04-23 | 1 | -1/+2 |
| |