Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MAKE_STRING parameters

Featured Replies

Hi,I have a problem with MAKE_STRING. In all examples DRAW_TEXT_FLAGS parameter is set to:DT_CENTER | DT_VCENTER | DT_SINGLELINEAlso FONT_SIZE is set to 0, and size is managed idirectly by the SIZE_X and NUM_CAHRS parameters.I tried to set FONT_SIZE and also change DRAW_TEXT_FLAGS, but any modifications led to the text dissapear totally.Can I use these parameters? May I align the text to left? May I use multiple line texts (with n or r in the string)?Gabor Hrasko

It is possible to use other DRAW_TEXT_FLAGS, preferrably together with a fixed FONT_SIZE.E.g. one of my gaugesuses:"DT_WORDBREAK|DT_EXPANDTABS" as DRAW_TEXT_FLAGS together with "10" as FONT_SIZE and "100" as SIZE_Y. However the fixed FONT_SIZE is really a fixed font in this case, if the gauge is resized the fontsize doesn't change with it and might give odd results.You might be able to work somehow with pelement->char_height directly in the string callback to make the resizing, but I haven't tried.Arne Bartels

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.