code logs -> 2015 -> Sun, 04 Jan 2015< code.20150103.log - code.20150105.log >
--- Log opened Sun Jan 04 00:00:01 2015
00:29 Turaiel[Offline] is now known as Turaiel
00:36 Thalasleep is now known as Thalass
01:49 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [[NS] Quit: ]
01:50 Turaiel is now known as Turaiel[Offline]
02:07 JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code
02:07 mode/#code [+o JustBob] by ChanServ
03:14 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has quit [Ping timeout: 121 seconds]
03:23 Turaiel[Offline] is now known as Turaiel
04:17 Thalass is now known as Thalass|iceparty
04:39 Turaiel is now known as Turaiel[Offline]
04:40 Turaiel[Offline] is now known as Turaiel
04:48 Turaiel is now known as Turaiel[Offline]
05:00 Derakon is now known as Derakon[AFK]
06:32 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
06:38 celticminstrel [celticminst@Nightstar-de4ll6.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:09 Kindamoody[zZz] is now known as Kindamoody
08:19 Orthia [orthianz@Nightstar-h0e.2ui.224.119.IP] has quit [Ping timeout: 121 seconds]
08:23 Orthia [orthianz@Nightstar-15t.sc4.224.119.IP] has joined #code
08:23 mode/#code [+o Orthia] by ChanServ
08:25
< abudhabi>
First world problems: My new desktop is so light that trying to insert a USB stick moves it around.
09:16 AverageJoe [evil1@Nightstar-2ofrtr.ph.cox.net] has joined #code
09:19 Kindamoody is now known as Kindamoody|afk
09:37 KiMo|autorejoin [Kindamoody@Nightstar-966hb4.mobileonline.telia.com] has joined #code
09:37 mode/#code [+o KiMo|autorejoin] by ChanServ
09:39 Kindamoody|afk [Kindamoody@Nightstar-esp2ki.mobileonline.telia.com] has quit [Ping timeout: 121 seconds]
09:57 Thalass|iceparty is now known as Thalass
10:32 AverageJoe [evil1@Nightstar-2ofrtr.ph.cox.net] has quit [[NS] Quit: Leaving]
11:17 Orthia [orthianz@Nightstar-15t.sc4.224.119.IP] has quit [Ping timeout: 121 seconds]
11:21 Orthia [orthianz@Nightstar-h0e.2ui.224.119.IP] has joined #code
11:21 mode/#code [+o Orthia] by ChanServ
12:08 Orthia [orthianz@Nightstar-h0e.2ui.224.119.IP] has quit [Ping timeout: 121 seconds]
12:12 Orthia [orthianz@Nightstar-12c5m9.callplus.net.nz] has joined #code
12:12 mode/#code [+o Orthia] by ChanServ
12:21 Orthia [orthianz@Nightstar-12c5m9.callplus.net.nz] has quit [Ping timeout: 121 seconds]
12:26 Orthia [orthianz@Nightstar-h0e.2ui.224.119.IP] has joined #code
12:26 mode/#code [+o Orthia] by ChanServ
12:58 Orthia [orthianz@Nightstar-h0e.2ui.224.119.IP] has quit [Ping timeout: 121 seconds]
13:03 Orthia [orthianz@Nightstar-de5.25d.224.119.IP] has joined #code
13:03 mode/#code [+o Orthia] by ChanServ
14:02 Orthia [orthianz@Nightstar-de5.25d.224.119.IP] has quit [Ping timeout: 121 seconds]
14:06 Orthia [orthianz@Nightstar-h0e.2ui.224.119.IP] has joined #code
14:06 mode/#code [+o Orthia] by ChanServ
14:42 Thalass [thalass@Nightstar-khjold.bigpond.net.au] has quit [Ping timeout: 121 seconds]
14:52 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has joined #code
14:52 mode/#code [+o Checkmate] by ChanServ
16:11 Thalass [thalass@Nightstar-khjold.bigpond.net.au] has joined #code
16:11 mode/#code [+o Thalass] by ChanServ
16:27 Thalass is now known as Thalass|sleep
16:43 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
16:43 mode/#code [+qo Vornicus Vornicus] by ChanServ
17:55 celticminstrel [celticminst@Nightstar-de4ll6.dsl.bell.ca] has joined #code
17:56 mode/#code [+o celticminstrel] by ChanServ
18:31 Turaiel[Offline] is now known as Turaiel
18:56 Turaiel is now known as Turaiel[Offline]
18:56 Turaiel[Offline] is now known as Turaiel
18:58 Turaiel is now known as Turaiel[Offline]
19:21 Red_Queen [Z@Nightstar-ev6.6um.94.83.IP] has joined #code
19:21 mode/#code [+o Red_Queen] by ChanServ
19:21 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has quit [Connection closed]
19:36 KiMo|autorejoin is now known as Kindamoody
20:31 Turaiel[Offline] is now known as Turaiel
21:05 Red_Queen [Z@Nightstar-ev6.6um.94.83.IP] has quit [Ping timeout: 121 seconds]
21:10 Turaiel is now known as Turaiel[Offline]
21:11 Turaiel[Offline] is now known as Turaiel
21:15 Turaiel is now known as Turaiel[Offline]
22:05 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
22:05 mode/#code [+o Checkmate] by ChanServ
22:09
<@celticminstrel>
Okay, so I was approaching this issue from the wrong direction entirely. Seems like it's not that things are being drawn in the wrong place, but rather that they're being squished.
22:15 Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds]
22:15 Kindamoody is now known as Kindamoody[zZz]
22:20 Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code
22:20 mode/#code [+o Alek] by ChanServ
22:30
<@celticminstrel>
By adding a menubar to an existing window, the window's size is preserved, but the GL context is shrunk to make space for the window.
22:31
<@celticminstrel>
...I think.
22:31
<&McMartin>
I believe the relevant all is glViewport?
22:31
<@celticminstrel>
I was wondering about that... I tried to fix it using SFML's View class, but couldn't get that to work...
22:32
<@celticminstrel>
I found something suggesting glViewport, though the use case was quite different.
22:37
<@celticminstrel>
Doesn't seem to have helped, though I suppose I might be doing it wrong.
22:37
<@celticminstrel>
I'm doing glViewport(0, windowHeight, windowWidth, windowHeight - menubarHeight)
22:38
<&McMartin>
The menubar might not be "part of the window" but instead be a completely different window
22:38
<@celticminstrel>
Hm.
22:38
<&McMartin>
At the level it's operating on "window" and "widget" might be synonymous.
22:38
<&McMartin>
Dropping that subtraction is the obvious first thing to try.
22:40
<@celticminstrel>
Doesn't seem to help.
22:40
<&McMartin>
k, not that then
22:42
<@celticminstrel>
I'll come back to it after supper, I guess.
23:07 Xires is now known as ^Xires
23:12 Orthia is now known as Reivles
23:20 ^Xires is now known as Xires
23:25
<@celticminstrel>
Okay, so...
23:30
<@celticminstrel>
...apparently, I thought I was making the window larger to account for the menubar, but I actually wasn't because there was an unused global variable with the same name as the variable that I'd stored the menubar height in (but different case).
23:31
<&McMartin>
Time to turn on variable shadow warnings -_-
23:31
<@celticminstrel>
It wouldn't've worked. The variables were "menubarHeight" and "menuBarHeight".
23:33
<@celticminstrel>
The latter was some sort of relic of the old Carbon code.
23:34
<@celticminstrel>
Or maybe even pre-Carbon.
--- Log closed Mon Jan 05 00:00:17 2015
code logs -> 2015 -> Sun, 04 Jan 2015< code.20150103.log - code.20150105.log >

[ Latest log file ]