Jump to content
  • Advertisement
  • entries
    359
  • comments
    237
  • views
    189540

Le Font.

Sign in to follow this  
Telastyn

102 views

Had a long interview today, which went fairly well if not being difficult. We'll see.

I doodled up a little prototype FontDialog. I need to change the cursor control to be more controlable and not equivalent to the rendering cursor. The actual font discovery and rendering works fantastically though. Yes, I know they're backwards, that needs fixed too. The control has an italic and bold flag which don't have ui controls yet.


PickFontDialog fontDialog = new PickFontDialog(VerticalList<string>.RectBehavior.Resize);
TiedRect.Tie(fontDialog, testBorder4.OuterRO(), TiedRect.TiePoints.LeftTop, TiedRect.TiePoints.LeftBottom, 0, 4).Sizing = fontDialog.FontList.BoundingBox;
fontDialog.Color = System.Drawing.Color.SkyBlue.ToArgb();
fontDialog.Color2 = System.Drawing.Color.Goldenrod.ToArgb();
fontDialog.BorderColor = System.Drawing.Color.SkyBlue.ToArgb();
fontDialog.BGColor = System.Drawing.Color.Transparent.ToArgb();
fontDialog.FontSize = 16;
fontDialog.PushOnto(RORoot.GUIRoot);

Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!