xod Posted July 16, 2018 Share Posted July 16, 2018 In CodeLab you need to add this line: int BaseYear = 2010; Quote Link to comment Share on other sites More sharing options...
BoltBait Posted July 16, 2018 Author Share Posted July 16, 2018 3 minutes ago, xod said: In CodeLab you need to add this line: int BaseYear = 2010; You are correct! You'd think I would test this stuff before posting... but, you'd be wrong. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
xod Posted July 16, 2018 Share Posted July 16, 2018 There is no problem. Thanks for the code. ? Quote Link to comment Share on other sites More sharing options...
Seerose Posted July 17, 2018 Share Posted July 17, 2018 Dear @Pixey! Great calendars, thank you for sharing. Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
ReMake Posted July 17, 2018 Share Posted July 17, 2018 A few lines in CodeLab and we have a Calendar Creator with a "Red" Days (weekend). Spoiler CheckboxControl Amount10 = true; // [0,1] Red Days #endregion . . . ColorBgra textColor = Amount5 ? ((Amount10 && (currentDate.DayOfWeek == DayOfWeek.Saturday || currentDate.DayOfWeek == DayOfWeek.Sunday)) ? ColorBgra.Red.NewAlpha(128) : ColorBgra.Black.NewAlpha(96)) : ColorBgra.Transparent; . . . { textColor = ColorBgra.Black; if (Amount10 && ((currentDate.DayOfWeek == DayOfWeek.Sunday || (currentDate.DayOfWeek == DayOfWeek.Saturday && Amount9)))) {textColor = ColorBgra.Red;} } Of course, it's not an optimum code and somebody could correct it. 2 2 Quote Link to comment Share on other sites More sharing options...
BoltBait Posted July 18, 2018 Author Share Posted July 18, 2018 11 hours ago, ReMake said: A few lines in CodeLab and we have a Calendar Creator with a "Red" Days (weekend). ... Of course, it's not an optimum code and somebody could correct it. I have corrected the code and included red weekend option in v1.5. Enjoy. 2 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
ReMake Posted July 18, 2018 Share Posted July 18, 2018 It's grandiose! Now this is a full calendar. Thank you! Quote Link to comment Share on other sites More sharing options...
xod Posted July 18, 2018 Share Posted July 18, 2018 (edited) Deleted. Edited July 18, 2018 by xod Quote Link to comment Share on other sites More sharing options...
BoltBait Posted July 18, 2018 Author Share Posted July 18, 2018 Man, pretty soon the UI will need a scroll bar... You all know how I feel about long UI's... (But, I can't control what you do with the source code I post.) Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
xod Posted July 18, 2018 Share Posted July 18, 2018 I don't like long UIs either. That's why I avoided using Color Wheel. I will delete my post above because that's fair play. Quote Link to comment Share on other sites More sharing options...
BoltBait Posted July 18, 2018 Author Share Posted July 18, 2018 No! Don't do that! I don't mind you guys building on what I post. Just be warned, when I put this into my plugin pack, it will be the version I posted. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
xod Posted July 18, 2018 Share Posted July 18, 2018 BB, is your plugin. That's fair play. Undoubtedly, if you wanted to, you would have put the color options. You are much more capable of coding than we are, so we have to respect your choice. Quote Link to comment Share on other sites More sharing options...
Eli Posted July 18, 2018 Share Posted July 18, 2018 I just noticed that the world as we know it has an expiration date. Maybe someone will make a movie. There is also some room for more options on a second column. 1 Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted July 18, 2018 Share Posted July 18, 2018 (edited) 28 minutes ago, Eli said: There is also some room for more options on a second column. IndirectUI doesn't allow for a second column of checkboxes. It may sound like a good idea, but would run into issues with localization. ie: in some languages, the labels might be a lot longer in length, and would get clipped. EDIT: Nevermind, IndirectUI doesn't clip text; it wraps it. Edited July 18, 2018 by toe_head2001 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Eli Posted July 18, 2018 Share Posted July 18, 2018 24 minutes ago, toe_head2001 said: in some languages, the labels might be a lot longer in length, and would get clipped. Maybe one day labels will be replaced with emojis. (I am being stupid) Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted July 18, 2018 Share Posted July 18, 2018 37 minutes ago, toe_head2001 said: IndirectUI doesn't allow for a second column of checkboxes. Feature request: a combobox with checkboxes! Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
MadJik Posted July 19, 2018 Share Posted July 19, 2018 12 hours ago, Eli said: I just noticed that the world as we know it has an expiration date. The dropdown list is populated from the actual year… It means next year the last choice in the list will be + 1 (2033). edit:Perhaps a slider -100 <--- year ---> +100 would be better for a bigger range and will offer the possibility to key in the year... (Birth month of grandpa…) 2 1 Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
Eli Posted July 19, 2018 Share Posted July 19, 2018 6 hours ago, MadJik said: Perhaps a slider -100 <--- year ---> +100 would be better for a bigger range and will offer the possibility to key in the year... (Birth month of grandpa…) I would finally know what day I was born. Quote Link to comment Share on other sites More sharing options...
BoltBait Posted July 20, 2018 Author Share Posted July 20, 2018 14 hours ago, MadJik said: Perhaps a slider -100 <--- year ---> +100 would be better for a bigger range and will offer the possibility to key in the year... I kinda like this idea. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
BoltBait Posted July 20, 2018 Author Share Posted July 20, 2018 On 7/19/2018 at 2:33 AM, MadJik said: Perhaps a slider -100 <--- year ---> +100 would be better for a bigger range and will offer the possibility to key in the year... This has been implemented in v1.6 4 3 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
lynxster4 Posted July 21, 2018 Share Posted July 21, 2018 Thank you for the calendar @BoltBait ? 2 Quote My Art Gallery | My Shape Packs | ShapeMaker Mini Tut | Air Bubble Stained Glass Chrome Text with Reflections | Porcelain Text w/ Variegated Coloring | Realistic Knit PatternOpalescent Stained Glass | Frosted Snowman Cookie | Leather Texture | Plastic Text | Silk Embroidery Visit my Personal Website "Never, ever lose your sense of humor - you'll live longer" Link to comment Share on other sites More sharing options...
flaner Posted September 19, 2018 Share Posted September 19, 2018 unfortunately I could not change the color. only black Quote Link to comment Share on other sites More sharing options...
ReMake Posted September 19, 2018 Share Posted September 19, 2018 Do you want to change the color of the weekend? Quote Link to comment Share on other sites More sharing options...
flaner Posted September 19, 2018 Share Posted September 19, 2018 I want to change the overall color.by default it is black.... and it will not be visible in a dark image Quote Link to comment Share on other sites More sharing options...
BoltBait Posted September 19, 2018 Author Share Posted September 19, 2018 1 minute ago, flaner said: I want to change the overall color.by default it is black.... and it will not be visible in a dark image Render the calendar to it's own layer. Then, Adjustments > Invert Colors Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.