Click here to Skip to main content
15,440,620 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Wordle Hurdle Pin
Kornfeld Eliyahu Peter5-Apr-22 23:08
professionalKornfeld Eliyahu Peter5-Apr-22 23:08 
GeneralRe: Wordle Hurdle Pin
Amarnath S5-Apr-22 19:57
professionalAmarnath S5-Apr-22 19:57 
GeneralRe: Wordle Hurdle Pin
den2k885-Apr-22 20:44
professionalden2k885-Apr-22 20:44 
GeneralRe: Wordle Hurdle Pin
dan!sh 5-Apr-22 21:05
professional dan!sh 5-Apr-22 21:05 
GeneralRe: Wordle Hurdle Pin
DRHuff6-Apr-22 11:16
MemberDRHuff6-Apr-22 11:16 
GeneralRe: Wordle Hurdle Pin
0x01AA5-Apr-22 21:38
professional0x01AA5-Apr-22 21:38 
GeneralRe: Wordle Hurdle Pin
Greg Utas6-Apr-22 0:50
mveGreg Utas6-Apr-22 0:50 
GeneralSplit Personality User Controls. Pin
Gerry Schmitz5-Apr-22 7:25
mveGerry Schmitz5-Apr-22 7:25 
User controls in UWP and WPF have a top, left, width and height; and an implied angle of zero degrees.

So I can move them around by altering the top, left coordinates with code at run time.

My user controls have "facings": front (top), back (bottom), left, right. I get to "face" them in different directions by rotating them around a center point.

Rotating the controls has NO effect on the original coordinates (though the "visual" rotates), so I have to calculate (matrix transform) the rotated coordinates myself for collision detection etc.; and reference the original coordinates when I want to move.

In effect, I almost wind up working with 2 controls at the same time; with only the center points in common.

My OCD question is: what would you call the "first" user control versus the second, rotated one?

I'm at "actual" and "visual" but not quite satisfied.


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

GeneralRe: Split Personality User Controls. Pin
0x01AA5-Apr-22 7:29
professional0x01AA5-Apr-22 7:29 
GeneralRe: Split Personality User Controls. Pin
Gerry Schmitz5-Apr-22 7:32
mveGerry Schmitz5-Apr-22 7:32 
QuestionRe: Split Personality User Controls. Pin
Randor 5-Apr-22 7:46
professional Randor 5-Apr-22 7:46 
AnswerRe: Split Personality User Controls. Pin
Gerry Schmitz6-Apr-22 10:41
mveGerry Schmitz6-Apr-22 10:41 
GeneralRe: Split Personality User Controls. Pin
PIEBALDconsult5-Apr-22 8:05
professionalPIEBALDconsult5-Apr-22 8:05 
GeneralRe: Split Personality User Controls. Pin
k50545-Apr-22 8:32
mvek50545-Apr-22 8:32 
GeneralRe: Split Personality User Controls. Pin
Gerry Schmitz6-Apr-22 10:48
mveGerry Schmitz6-Apr-22 10:48 
GeneralRe: Split Personality User Controls. Pin
Gary R. Wheeler5-Apr-22 11:15
MemberGary R. Wheeler5-Apr-22 11:15 
GeneralRe: Split Personality User Controls. Pin
Randor 5-Apr-22 11:40
professional Randor 5-Apr-22 11:40 
GeneralRe: Split Personality User Controls. Pin
Gary R. Wheeler5-Apr-22 11:43
MemberGary R. Wheeler5-Apr-22 11:43 
GeneralRe: Split Personality User Controls. Pin
jsc425-Apr-22 22:44
professionaljsc425-Apr-22 22:44 
GeneralRe: Split Personality User Controls. Pin
Gerry Schmitz6-Apr-22 10:54
mveGerry Schmitz6-Apr-22 10:54 
GeneralRe: Split Personality User Controls. Pin
Marc Clifton5-Apr-22 15:19
mvaMarc Clifton5-Apr-22 15:19 
GeneralRe: Split Personality User Controls. Pin
David O'Neil5-Apr-22 19:24
professionalDavid O'Neil5-Apr-22 19:24 
GeneralRe: Split Personality User Controls. Pin
Gerry Schmitz6-Apr-22 10:55
mveGerry Schmitz6-Apr-22 10:55 
QuestionRe: Split Personality User Controls. Pin
David O'Neil6-Apr-22 11:17
professionalDavid O'Neil6-Apr-22 11:17 
AnswerRe: Split Personality User Controls. Pin
Gerry Schmitz6-Apr-22 12:04
mveGerry Schmitz6-Apr-22 12:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

When building an application, when is the most important time to consider the User Experience?
They are the ones we write code for, right?
  Results   730 votes