private void Form1_Load(object sender, EventArgs e) { trayIcon.BalloonTipText = "Running in tray. Double click tray icon to maximize."; trayIcon.BalloonTipTitle = "FFXIV LCD Applet"; trayIcon.BalloonTipIcon = ToolTipIcon.Info; trayIcon.Icon = this.Icon; mainMap.setMap(BGRATools.fillColorMap(mainMap.getMap().Length, 255, 255, 255, 065)); LogitechLCD.LogiLcdInit("FFXIV", LogitechLCD.LcdType.Mono | LogitechLCD.LcdType.Color); }
private void updateBackground(int bg) { if (currentBackground != bg) { switch (bg) { case 0: mainMap.setMap(BGRATools.fillColorMap(mainMap.getMap().Length, 255, 255, 255, 065)); currentBackground = 0; break; case 1: mainMap.setMap(BGRATools.drawToMap(mainMap.getMap(), 320, 240, new Bitmap(localization[5][locale]), 0, 75)); currentBackground = 1; break; default: break; } } }