Commit Graph

37 Commits

Author SHA1 Message Date
Pietro Gagliardi d944af8609 Split out common container window procedure code in Windows to its own function. 2014-08-14 16:00:31 -04:00
Pietro Gagliardi acbe70b4e5 Fixed the infinite loop on Tab control dialog message bug(s) on the Windows backend. 2014-08-14 13:05:31 -04:00
Pietro Gagliardi 2c8bb7bc6d Fixed Tabs on Windows having undesirable tab stop behavior. This doesn't work correctly in wine, and I can confirm for the first time that it actually is a bug in wine! 2014-08-14 11:30:48 -04:00
Pietro Gagliardi c1dc235d3b Stripped C-style comments from C sources and headers where appropriate. 2014-08-14 10:42:10 -04:00
Pietro Gagliardi d384df97d0 Implemented table column autoresize on Windows. Also fixed Windows/Mac OS X build. 2014-08-14 09:20:20 -04:00
Pietro Gagliardi 2a2d730d12 Decided to remove AreaHandler.Defocuses() as that mucks up with the Mac OS X keyboard trap. 2014-08-13 14:09:53 -04:00
Pietro Gagliardi b01c653942 Made Areas on Windows tab stops and implemented AreaHandler.Defocuses() on Windows. 2014-08-13 10:41:27 -04:00
Pietro Gagliardi 995fbb2b8f Migrated all Common Controls version 6 initialization on the Windows backend to C. 2014-08-12 12:05:23 -04:00
Pietro Gagliardi b4a97e871a Settled the placement of functions formerly in sizing_windows.c and updated the winapi_windows.h header file to suit. 2014-08-09 10:26:42 -04:00
Pietro Gagliardi f24e177d99 Mostly fixed Labels on Windows being offset slightly; need to finish the fix by making it not apply to standalone Labels and adding comments. 2014-08-08 23:47:06 -04:00
Pietro Gagliardi c460c11b65 Added the hollow brush to the list of static data initialized by uiinit() in the Windows backend; this lets other parts of the package use the hollow brush without the need for additional error checking. 2014-08-05 16:30:12 -04:00
Pietro Gagliardi 96c81996ba Fixed errors with Area on Windows. Woo! 2014-08-05 12:49:08 -04:00
Pietro Gagliardi fada6849c4 Mostly completed writing Area on Windows. Now to fix compiler errors. 2014-08-05 12:17:44 -04:00
Pietro Gagliardi bccfde2c34 Started re-adding Area to the Windows backend: ported the existing code to C. 2014-08-05 12:05:43 -04:00
Pietro Gagliardi 91f1a34003 Re-added base units calculation to the resizing code now that container stores a HWND again. 2014-08-04 20:10:23 -04:00
Pietro Gagliardi 9ed4ec5259 Split layout and Window on Windows to use two separate window classes. This is the first half of the two-part migration of the Windows backend to use container. 2014-08-04 19:46:49 -04:00
Pietro Gagliardi 950548563d Split apart the Windows Window code so that the same window class can be used for both top-level windows and tab pages (next commit). This makes things slightly messy in the short term, but this will all be cleaned up soon, and has the advantage of taking care of the sizer mess~ 2014-08-04 11:05:39 -04:00
Pietro Gagliardi 2c107d7057 Converted the new Windows Control code to use interfaces instead of controlbase, just like the GTK+ and Mac OS X backends do now. 2014-08-03 21:52:21 -04:00
Pietro Gagliardi 1f6ad99afb Wrote code to get Windows Tabs's tab height; will integrate it later. 2014-08-02 11:05:18 -04:00
Pietro Gagliardi 785d6ac4fd Added a function to the Windows backend to keep track of text length. This will be important for sizing purposes. 2014-08-01 19:15:03 -04:00
Pietro Gagliardi 80828b8a7d Changed LPCWSTR to LPWSTR in the Windows code as the C means const and there are a few cases of const->non-const conversions as a result. 2014-08-01 18:25:59 -04:00
Pietro Gagliardi 84e04cdae1 Set up some extended styles on Windows Tables for consistency and future features. 2014-07-28 23:47:45 -04:00
Pietro Gagliardi 7cb6ca1243 Began the implementation of Table on Windows. 2014-07-28 20:52:32 -04:00
Pietro Gagliardi 13bcf728ba Made the previous commit's changes on Windows. If the Stack Overflow question tells me I'm wrong, we can deal with it then. But yay simple sizing code again :D 2014-07-28 14:43:34 -04:00
Pietro Gagliardi 9ea22218ff Implemented Tab on Windows. 2014-07-25 15:58:24 -04:00
Pietro Gagliardi 451536f6a5 Mostly added Checkbox to the Windows backend; it doesn't show up right away and it crashes in WM_NCDESTROY... 2014-07-21 21:34:52 -04:00
Pietro Gagliardi 55db438d63 Resolved ambiguous WINAPI issues on Windows. 2014-07-21 09:43:37 -04:00
Pietro Gagliardi f64f2781ce Added (and applied) standard Windows fonts. 2014-07-18 11:20:18 -04:00
Pietro Gagliardi 7c6fa3b2fd Fixed assorted typos in some of the new C files. 2014-07-17 23:56:16 -04:00
Pietro Gagliardi b174ed985c Added include guards to winapi_windows.h because of cgo including the file multiple times. 2014-07-17 23:52:07 -04:00
Pietro Gagliardi 6a5a28d917 Migrated common_windows.go to C. Now to nuke unneeded files and fix compiler errors... 2014-07-17 23:45:12 -04:00
Pietro Gagliardi 0dc1538002 Migrated window_windows.go to C. 2014-07-17 23:11:16 -04:00
Pietro Gagliardi 29b80f7542 Migrated sizing_windows.go to C. 2014-07-17 22:47:04 -04:00
Pietro Gagliardi 2c025a97ef Migrated init_windows.go to C. 2014-07-17 22:33:03 -04:00
Pietro Gagliardi 7e40e9fe28 Migrated controls_windows.go to C. 2014-07-17 22:16:32 -04:00
Pietro Gagliardi 8fee588a1d Migrated comctl32_windows.go to C. 2014-07-17 20:05:47 -04:00
Pietro Gagliardi 0adac4d3ca Began the drudgery of converting all the Windows code to use cgo, because I'm not going to wait to debug this smashed stack. 2014-07-17 19:36:24 -04:00