Commit Graph

3717 Commits

Author SHA1 Message Date
gdivos 3237d60ee8 Remove GTK timer source ID from main context on uninit
Restarting the main loop without removing the timer source results in
null-pointer dereference error in GTK.

https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html#mainloop-memory-management
2019-01-17 21:00:33 +01:00
Pietro Gagliardi d305440fa0 Merge branch 'windows-namespace-and-hresult-cleanup'
Branch is abandoned, but notes files were changed, so keep those.
2019-01-05 18:57:37 -05:00
Pietro Gagliardi f1d9e36a0e Abandon the current work on windows-namespace-and-hresult-cleanup. I'll take a different approach. 2019-01-05 18:56:04 -05:00
Pietro Gagliardi a03754512f Merge branch 'master' into windows-namespace-and-hresult-cleanup 2019-01-05 18:46:25 -05:00
Pietro Gagliardi 04891a99ab Remove the autolayout --no-ff merge dummy file. 2019-01-05 17:40:59 -05:00
Pietro Gagliardi dabf2e6b93 Merge branch 'autolayout'
PROPERLY this time.
2019-01-05 17:40:33 -05:00
Pietro Gagliardi b95dd8fab5 Add a dummy file to ensure that branch autolayout can be --no-ff merged with master. 2019-01-05 17:35:41 -05:00
Pietro Gagliardi c65865d5c2 Merge branch 'master' into autolayout
For some reason the merge of this ages ago was forgotten. We're gonna make a dummy commit and properly --no-ff this.
2019-01-05 17:34:08 -05:00
Pietro Gagliardi acc0e3e5ea Merge branch 'master' of github.com:andlabs/libui 2018-12-30 20:18:26 -05:00
Pietro Gagliardi 000f699ba6
Merge pull request #426 from tacdevel/libuisharp-bindings-update
LibUISharp binding project rename
2018-12-30 20:17:16 -05:00
Pietro Gagliardi 0d9e3c4b67 More notes. 2018-12-26 12:40:37 -05:00
Pietro Gagliardi 38e5d23891 More notes. 2018-11-24 19:57:05 -05:00
Thomas Corwin 97609af771 Update the C# binding LibUISharp's name and link. 2018-11-20 15:16:38 -05:00
Pietro Gagliardi 6490cdadb7 More TODOs. 2018-11-11 21:25:45 -05:00
Pietro Gagliardi ae8a3939ae More TODOs. 2018-11-08 11:32:41 -05:00
Pietro Gagliardi df5d144dbd More TODOs. 2018-11-07 10:11:51 -05:00
Pietro Gagliardi c25831ec66 Properly sized the explorer bar now. 2018-11-05 21:09:50 -05:00
Pietro Gagliardi a5fb198558 Started work to properly size the explorer bars. 2018-11-04 22:19:44 -05:00
Pietro Gagliardi 7138276ccf And completed the genericization for Vista. It works!!! 2018-11-02 23:23:35 -04:00
Pietro Gagliardi 3d4b959632 More work on generalizing the winbuttonexplorertheme program. 2018-11-01 10:50:10 -04:00
Pietro Gagliardi d9a851169e More work. More platform-specific parameters, yay! 2018-10-30 23:34:06 -04:00
Pietro Gagliardi 447dc24651 Start of refactoring of stuff into classes! It's spaghetti already~ 2018-10-29 21:11:16 -04:00
Pietro Gagliardi c49151a4dc Background now draws correctly on Vista. Something weird is going on with the theme there; the parts (except for part 1) seem to be shifted down one... and the UIFILE there uses named constants directly... 2018-10-28 22:03:56 -04:00
Pietro Gagliardi b82d1b0a3b More work; we now have the background. Oh boy, this is gonna be fun, because Vista doesn't have things set up quite right compared to 7... 2018-10-28 18:17:37 -04:00
Pietro Gagliardi 9e6baf0a61 And cleaned up the button sizing, metrics, and drawing code. It seems to position the content correctly still! :D 2018-10-26 23:23:08 -04:00
Pietro Gagliardi d15dfa06a8 More text drawing work. I might need to make a generic button metrics function for this instead. 2018-10-21 22:23:11 -04:00
Pietro Gagliardi 836e0dc2c7 Resolved sizing woes for now. 2018-10-20 19:22:02 -04:00
Pietro Gagliardi 71ddf6ce91 Figured out more stuff about our button size woes. 2018-10-19 22:22:45 -04:00
Pietro Gagliardi 24e8649c87 More experiments. This is getting absurd. 2018-10-18 22:32:53 -04:00
Pietro Gagliardi 7e34fac79d More experimentation. DirectUI is doing something with the sizing that I'm not... 2018-10-16 23:19:23 -04:00
Pietro Gagliardi 83ba0b1a41 More experiments in properly sizing our themed buttons since I'll just be custom-drawing them in their entirety based on the UIFILE's specification of content alignment. 2018-10-16 11:25:22 -04:00
Pietro Gagliardi fcec8693ca Started drawing the button properly. Focus rects are now in the way... 2018-10-15 09:30:22 -04:00
Pietro Gagliardi 38723aeff9 More TODOs. 2018-10-15 01:54:15 -04:00
Pietro Gagliardi ba9c42e5bb More theming work. We may actually have it this time! 2018-10-15 01:53:22 -04:00
Pietro Gagliardi 760a7c09f5 Started a new test program that works like the rebar one except with real button controls instead. 2018-10-14 23:56:00 -04:00
Pietro Gagliardi 359c08aa11 Tried to custom-draw the split button properly. Not sure it's possible... 2018-10-14 19:08:02 -04:00
Pietro Gagliardi c216d8953d Undid all custom sizing stuff for now. Let's just make this work first. 2018-10-14 18:42:51 -04:00
Pietro Gagliardi ddd6afbf36 Refined icon loading and tried to expand the winrebarexplorertheme test a bit more elaborate. This is going badly again... 2018-10-14 15:12:00 -04:00
Pietro Gagliardi 79d1d58af2 Oops 2018-10-13 18:12:04 -04:00
Pietro Gagliardi 1d94e95e83 More work. That chevron is going to be annoying... 2018-10-13 17:56:44 -04:00
Pietro Gagliardi 9d31dddd13 Figured out what I was doing wrong to get rightbar not working; it was some code I forgot about =P 2018-10-13 14:17:17 -04:00
Pietro Gagliardi fc2ef2c904 More work. This is starting to get twisted. 2018-10-12 22:45:37 -04:00
Pietro Gagliardi a5aa4624df More work. We're definitely building up to something... 2018-10-12 20:56:53 -04:00
Pietro Gagliardi 87d3fc5064 And started the custom draw code. 2018-10-11 22:49:37 -04:00
Pietro Gagliardi 6a22c61cd4 More work on winrebarexplorertheme.cpp, including the boilerplate for custom draw. More TODOs in general. 2018-10-11 22:19:10 -04:00
Pietro Gagliardi d082b4efa4 More work on winrebarexplorertheme.cpp. It registers themes. 2018-10-11 21:03:34 -04:00
Pietro Gagliardi 91fe6e7c47 More rebar refinements. 2018-10-11 05:35:06 -04:00
Pietro Gagliardi 97b11e027d Refined the rebar test some more. 2018-10-11 04:10:36 -04:00
Pietro Gagliardi fa4f5d78cb More notes. 2018-10-10 22:13:05 -04:00
Pietro Gagliardi 30ee36f8d2 More test programs. This isn't done yet, and it's not working right... 2018-10-09 23:40:13 -04:00